A night-time residential building fire near Barcelona resulted in four deaths and 13 injuries. Authorities are investigating the cause of the blaze.