Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 112.1 kB / 16.43 MB, free: 6.508 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.001034/0.001034, 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.105/1.105, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.152/2.152, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.002e-05, allocations: 2.281 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001828/0.001845, allocations: 1.488 MB / 1.056 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.002822, allocations: 0.7439 MB / 1.057 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.002863, allocations: 0 / 1.057 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.002892, allocations: 7.922 kB / 1.057 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.002938, allocations: 15.86 kB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.003346, allocations: 119.6 kB / 1.057 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.885e-05/0.003455, allocations: 83.83 kB / 1.057 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.003529, allocations: 8 kB / 1.057 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.003602, allocations: 43.83 kB / 1.057 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.003661, allocations: 35.84 kB / 1.057 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.003683, allocations: 8 kB / 1.057 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.003842, allocations: 91.91 kB / 1.057 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.745e-05/0.003928, allocations: 110.8 kB / 1.057 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.069e-05/0.003965, allocations: 59.12 kB / 1.057 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.00399, allocations: 15.94 kB / 1.057 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.808e-06/0.004004, allocations: 3.938 kB / 1.057 GB, free: 4.934 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TOut - 273.15) + win.B) / (exp(win.A * (win.TOut - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = 0.0; win.on = false; end if