Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_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_11_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.001119/0.001118, allocations: 111.1 kB / 16.43 MB, free: 6.422 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.001115/0.001115, allocations: 186.1 kB / 17.36 MB, free: 5.684 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.177/1.177, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.284/2.284, allocations: 469.8 MB / 0.7432 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.007e-05, allocations: 4.672 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002054/0.002083, allocations: 1.509 MB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.00326, allocations: 0.7751 MB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.003305, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.003339, allocations: 7.875 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.003387, allocations: 7.875 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.003864, allocations: 139.6 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.004005, allocations: 111.7 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.004097, allocations: 8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.004186, allocations: 47.83 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.004262, allocations: 55.81 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.004291, allocations: 15.98 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.004457, allocations: 91.86 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001114/0.004576, allocations: 130.8 kB / 1.069 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.055e-05/0.004613, allocations: 66.97 kB / 1.069 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.004639, allocations: 15.94 kB / 1.069 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.04e-05/0.004654, 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.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