Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 106 kB / 16.42 MB, free: 6.484 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.001337/0.001337, allocations: 188.3 kB / 17.36 MB, free: 5.703 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.343/2.343, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/1.881e-05, allocations: 2.5 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002134/0.002161, allocations: 1.51 MB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.003388, allocations: 0.7712 MB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.003453, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.003487, allocations: 7.922 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.003545, allocations: 15.81 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.004086, allocations: 131.6 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.00425, allocations: 115.7 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.004338, allocations: 11.98 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.004435, allocations: 47.83 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.004509, allocations: 43.83 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.004537, allocations: 12 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.004721, allocations: 99.84 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001064/0.004835, allocations: 134.8 kB / 1.069 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.614e-05/0.004877, allocations: 66.97 kB / 1.069 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.004908, allocations: 15.94 kB / 1.069 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.61e-05/0.004928, allocations: 0 / 1.069 GB, free: 10.67 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.pOpen = exp(win.AOpen * (win.TOut - 273.15) + win.BOpen) / (exp(win.AOpen * (win.TOut - 273.15) + win.BOpen) + 1.0); win.pClose = exp(win.AClose * (win.TOut - 273.15) + win.BClose) / (exp(win.AClose * (win.TOut - 273.15) + win.BClose) + 1.0); if pre(win.on) then win.on = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pClose, integer(win.curSeed)); elseif pre(win.on) == false and win.TOut > 288.15 then win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pOpen, integer(win.curSeed)); elseif true then win.on = pre(win.on); end if; elseif true then win.pOpen = 0.0; win.pClose = 0.0; win.on = false; end if