About 400 residents at a Near West Side building were displaced after a water pipe ruptured early Sunday morning.