Study of Failure Risk Factors for Residential Infrastructure Buildings