The building, which officials say previously flooded, had disconnected the electricity weeks before.