Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 114.8 kB / 16.43 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.001149/0.001149, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.135/1.135, 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.155/2.155, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.703e-05, allocations: 2.281 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00204/0.002065, allocations: 1.473 MB / 1.056 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003153, allocations: 0.74 MB / 1.057 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.003199, allocations: 0 / 1.057 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.003232, allocations: 3.938 kB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.003282, allocations: 15.86 kB / 1.057 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.003741, allocations: 119.6 kB / 1.057 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.003862, allocations: 87.81 kB / 1.057 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.003945, allocations: 11.98 kB / 1.057 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.004026, allocations: 35.86 kB / 1.057 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.004092, allocations: 39.81 kB / 1.057 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.004113, allocations: 8 kB / 1.057 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.004288, allocations: 99.84 kB / 1.057 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.926e-05/0.004376, allocations: 106.9 kB / 1.057 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.255e-05/0.004414, allocations: 55.12 kB / 1.057 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.004439, allocations: 11.94 kB / 1.057 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.279e-05/0.004456, allocations: 3.938 kB / 1.057 GB, free: 4.918 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