Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.001086/0.001086, allocations: 108.3 kB / 16.42 MB, free: 6.52 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.001067/0.001067, allocations: 185.5 kB / 17.35 MB, free: 5.734 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.149/1.149, 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.895/1.895, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.192e-05, allocations: 4.109 kB / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001938/0.001959, allocations: 1.519 MB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003052, allocations: 0.7634 MB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.003093, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.00312, allocations: 3.938 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.003181, allocations: 15.86 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.003611, allocations: 143.5 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003742, allocations: 107.8 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.31e-05/0.003821, allocations: 11.98 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.003902, allocations: 47.84 kB / 0.954 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.003974, allocations: 55.8 kB / 0.954 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.003996, allocations: 8 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.004158, allocations: 103.8 kB / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001009/0.004267, allocations: 126.7 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.155e-05/0.004305, allocations: 74.97 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.004332, allocations: 12 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.694e-05/0.004353, allocations: 3.938 kB / 0.9543 GB, free: 4.68 MB / 0.7325 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