Building energy management through fault detection analysis using pattern recognition techniques applied on residual neural networks