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 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.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.0008823/0.0008863, allocations: 108.6 kB / 16.42 MB, free: 6.469 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.0008599/0.0008598, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.105/1.105, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.158/2.158, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.846e-05, allocations: 2.5 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002033/0.002059, allocations: 1.511 MB / 1.056 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.00316, allocations: 0.7595 MB / 1.057 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.003204, allocations: 0 / 1.057 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.003236, allocations: 7.938 kB / 1.057 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.003285, allocations: 11.88 kB / 1.057 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.003754, allocations: 143.5 kB / 1.057 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003885, allocations: 103.8 kB / 1.057 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.264e-05/0.003963, allocations: 12 kB / 1.057 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.004051, allocations: 55.77 kB / 1.057 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.004129, allocations: 51.81 kB / 1.057 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.004154, allocations: 11.98 kB / 1.057 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.004317, allocations: 103.8 kB / 1.057 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of combineBinaries: time 9.942e-05/0.004424, allocations: 122.8 kB / 1.057 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.241e-05/0.004462, allocations: 70.97 kB / 1.058 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.004485, allocations: 11.94 kB / 1.058 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.211e-05/0.004501, allocations: 4 kB / 1.058 GB, free: 4.766 MB / 0.8262 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