Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001038/0.001038, allocations: 187.2 kB / 17.36 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.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.09 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.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.567e-05, allocations: 5.516 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002017/0.00204, allocations: 1.495 MB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003101, allocations: 0.7362 MB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.003143, allocations: 0 / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.003172, allocations: 3.938 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.003221, allocations: 11.88 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.003657, allocations: 119.6 kB / 0.9538 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003777, allocations: 83.77 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.951e-05/0.003862, allocations: 19.97 kB / 0.9539 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.003937, allocations: 31.86 kB / 0.9539 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.003995, allocations: 39.83 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.004016, allocations: 8 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.004176, allocations: 99.83 kB / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.245e-05/0.004268, allocations: 106.9 kB / 0.9541 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.611e-05/0.0043, allocations: 63.06 kB / 0.9542 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.004325, allocations: 11.94 kB / 0.9542 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.217e-06/0.004338, allocations: 0 / 0.9542 GB, free: 4.93 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