Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_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_latest_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.001139/0.001139, allocations: 103.7 kB / 16.42 MB, free: 6.48 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: 192.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.127/1.127, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.246/2.246, allocations: 472.6 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.05e-05, allocations: 2.281 kB / 1.07 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001877/0.001895, allocations: 1.512 MB / 1.072 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002942, allocations: 0.7672 MB / 1.072 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.002984, allocations: 4 kB / 1.072 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.003016, allocations: 11.86 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.003068, allocations: 7.875 kB / 1.072 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.003486, allocations: 135.6 kB / 1.072 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003612, allocations: 111.7 kB / 1.073 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.003691, allocations: 15.98 kB / 1.073 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.003771, allocations: 47.83 kB / 1.073 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.003848, allocations: 47.83 kB / 1.073 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.003871, allocations: 12 kB / 1.073 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.004014, allocations: 99.84 kB / 1.073 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001049/0.004128, allocations: 134.7 kB / 1.073 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.918e-05/0.004162, allocations: 63.02 kB / 1.073 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.004187, allocations: 15.94 kB / 1.073 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.496e-06/0.0042, allocations: 0 / 1.073 GB, free: 6.656 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