A319
Flight Crew Instrument; Flight Crew Air Transport Pilot (ATP); Flight Crew Multiengine
Time Pressure; Workload
Aircraft Equipment Problem Less Severe; Flight Deck / Cabin / Aircraft Event Smoke / Fire / Fumes / Odor; Inflight Event / Encounter Weather / Turbulence
Air Traffic Control Provided Assistance; Flight Crew Overcame Equipment Problem; Flight Crew Landed in Emergency Condition; Flight Crew Diverted; Flight Crew Requested ATC Assistance / Clarification; General Flight Cancelled / Delayed; General Maintenance Action
Aircraft
While in cruise at FL370 the cabin altitude began to rise quickly.  Noted that both packs were tripped/amber.  [Requested priority handling] and initiated an descent.  The PAX O2 mask deployed at 14;000 cabin altitude.  We were at about 16;000 MSL at that time.  About 3-5 minutes after mask deployment the FA's reported smoke; electrical smell and heat in the cabin.  Diverted to ZZZ.  Had AARF check aircraft that was stopped on the runway for indications of fire.  None noted.  Taxied to the gate X.  Deplaned the PAX and filled out the AML.I suspect an open MEL (#1 eng HP bleed) played a role. I think the reported smoke; smell and heat were a combination of the PAX O2 generators plus an unpressurized vessel flying in warm ambient conditions.  Plus the O2 generators read 200 degrees Fahrenheit at gate with the AARF equipment. If this turns out to be the case training on this would be helpful.
Flight ZZZ1 to ZZZ2. Level FL370 for about 10-15 minutes just short of ZZZ3.  Pressure page came up on lower ECAM and we saw that cabin pressure was rising quickly above 8;000 PSI.  Both packs were amber.  CA [requested priority handling] with ATC and we immediately began priority descent. FO was PF; CA was PM. We donned our O2 masks.  ATC was very helpful and we were cleared to 9;000 ft quickly.  CA was able to call FAs and tell them to sit and briefly what was happening. Cabin pressure was climbing as we descended; so that as we descended through 16;000 ft the cabin pressure reached 14;000 feet and the cabin oxygen masks deployed.  We were level at 10;000 less than one minute later.  Initially we were cleared to 9K and then lower; but I leveled at 10K due to weather and vectored toward ZZZ.  CA and dispatch had discussed returning to ZZZ1.  We had plenty of fuel and could transit at 10K.  However; 3-5 minutes FA's called to complain about smoke and electrical smell in cabin; especially aft; so CA requested direct ZZZ.  CA took over as PF and ATC gave us direct to ZZZ.  CA requested single frequency approach and I requested AARF. We made normal visual (ILS back up) approach into ZZZ. Landed and stopped on RWY XXC.  AARF looked for indications of fire/smoke.  There were none.  We taxied to gate X and AARF followed.  All passengers were deplaned and firefighters boarded to check for fire indications. Aircraft had MEL XX-XXB for HP Valve. #1 Eng Bleed was placarded INOP.Do not send old aircraft with known MELs flying.
A319 flight crew reported a fumes event during cruise resulting in a diversion.