Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001072/0.001072, allocations: 190 kB / 17.36 MB, free: 5.699 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.14 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.882/1.882, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.049e-05, allocations: 5.094 kB / 0.9514 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001917/0.001936, allocations: 1.499 MB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.002963, allocations: 0.7362 MB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.003003, allocations: 0 / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.003036, allocations: 3.938 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.898e-05/0.003079, allocations: 11.88 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.003496, allocations: 119.6 kB / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003629, allocations: 91.75 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.003709, allocations: 11.98 kB / 0.9539 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.003783, allocations: 31.86 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.003844, allocations: 43.83 kB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.003864, allocations: 8 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.004022, allocations: 99.89 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of combineBinaries: time 7.673e-05/0.004106, allocations: 102.8 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.486e-05/0.004136, allocations: 55.12 kB / 0.9542 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.00416, allocations: 15.94 kB / 0.9542 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.057e-06/0.004174, allocations: 0 / 0.9542 GB, free: 4.906 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