Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") 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.2 kB / 16.43 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.001038/0.001038, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.097/1.097, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.12/2.12, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.373e-05, allocations: 6.219 kB / 1.055 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001898/0.00192, allocations: 1.525 MB / 1.056 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.002963, allocations: 0.7595 MB / 1.057 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.003003, allocations: 3.938 kB / 1.057 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.003029, allocations: 7.922 kB / 1.057 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.003081, allocations: 11.88 kB / 1.057 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.003516, allocations: 135.6 kB / 1.057 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.003656, allocations: 107.7 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.003732, allocations: 15.98 kB / 1.057 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.003816, allocations: 55.83 kB / 1.057 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.003885, allocations: 47.83 kB / 1.057 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.003909, allocations: 8 kB / 1.057 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.004069, allocations: 103.8 kB / 1.057 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.672e-05/0.004163, allocations: 126.8 kB / 1.057 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.131e-05/0.0042, allocations: 70.97 kB / 1.058 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.004221, allocations: 7.938 kB / 1.058 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.678e-06/0.004234, allocations: 4 kB / 1.058 GB, free: 4.816 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.pOpen = exp(win.AOpen * (win.TIn - 273.15) + win.BOpen) / (exp(win.AOpen * (win.TIn - 273.15) + win.BOpen) + 1.0); win.pClose = exp(win.AClose * (win.TIn - 273.15) + win.BClose) / (exp(win.AClose * (win.TIn - 273.15) + win.BClose) + 1.0); if pre(win.on) == true and win.TIn < 303.15 then win.on = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pClose, integer(win.curSeed)); elseif pre(win.on) == false and win.TIn > 293.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