Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 111.4 kB / 16.42 MB, free: 6.504 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.001032/0.001032, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.132/1.132, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.888/1.888, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.669e-05, allocations: 9.453 kB / 0.9514 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002045/0.002069, allocations: 1.503 MB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003141, allocations: 0.7323 MB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.003183, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.003212, allocations: 7.922 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.003262, allocations: 15.88 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.003695, allocations: 119.6 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.003821, allocations: 83.7 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.003907, allocations: 15.98 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.003986, allocations: 35.91 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.004048, allocations: 39.83 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.00407, allocations: 11.94 kB / 0.9539 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.004232, allocations: 99.84 kB / 0.954 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.118e-05/0.00432, allocations: 98.89 kB / 0.9541 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.822e-05/0.004365, allocations: 63.12 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.004388, allocations: 7.938 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.548e-06/0.004401, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7325 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