Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.001105/0.001105, allocations: 112.3 kB / 16.42 MB, free: 6.504 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.001077/0.001077, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.15/1.15, 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.876/1.876, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.789e-06/9.798e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001995/0.002013, allocations: 1.515 MB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003075, allocations: 0.7596 MB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.003117, allocations: 4 kB / 0.9537 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.003144, allocations: 7.922 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.003191, allocations: 11.86 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.00364, allocations: 143.5 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003764, allocations: 103.8 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.198e-05/0.003842, allocations: 19.97 kB / 0.9539 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.003926, allocations: 47.84 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.004002, allocations: 51.81 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.004025, allocations: 8 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.004172, allocations: 99.91 kB / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.000104/0.004283, allocations: 134.7 kB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.179e-05/0.00432, allocations: 70.97 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.004341, allocations: 8 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.128e-05/0.004357, allocations: 7.875 kB / 0.9543 GB, free: 4.715 MB / 0.7325 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