Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 113.2 kB / 16.43 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 189.5 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.132/2.132, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.464e-05, allocations: 2.281 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001959/0.001981, allocations: 1.508 MB / 1.056 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003021, allocations: 0.74 MB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.003064, allocations: 0 / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.003096, allocations: 3.938 kB / 1.057 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.003154, allocations: 11.86 kB / 1.057 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.003594, allocations: 123.6 kB / 1.057 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.003702, allocations: 75.83 kB / 1.057 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.18e-05/0.00378, allocations: 15.98 kB / 1.057 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.003858, allocations: 39.84 kB / 1.057 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.003916, allocations: 35.84 kB / 1.057 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.003935, allocations: 4 kB / 1.057 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.004103, allocations: 95.91 kB / 1.057 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.939e-05/0.004191, allocations: 106.9 kB / 1.057 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.267e-05/0.004229, allocations: 59.12 kB / 1.057 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.004255, allocations: 11.88 kB / 1.057 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.086e-05/0.004271, allocations: 4 kB / 1.057 GB, free: 4.891 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TOut - 273.15) + win.B) / (exp(win.A * (win.TOut - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = 0.0; win.on = false; end if