Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.2 kB / 16.42 MB, free: 6.473 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: 190 kB / 17.36 MB, free: 5.711 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.103/1.103, 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 11.0.1-master/package.mo): time 2.135/2.135, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.14e-05, allocations: 2.281 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001868/0.001887, allocations: 1.498 MB / 1.056 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.002888, allocations: 0.7439 MB / 1.057 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.002926, allocations: 0 / 1.057 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.002955, allocations: 3.938 kB / 1.057 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.003005, allocations: 7.875 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.003401, allocations: 123.6 kB / 1.057 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.003507, allocations: 79.83 kB / 1.057 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.891e-05/0.003582, allocations: 19.97 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.003651, allocations: 31.86 kB / 1.057 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.003716, allocations: 43.83 kB / 1.057 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.003738, allocations: 8 kB / 1.057 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.003887, allocations: 95.89 kB / 1.057 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.246e-05/0.003968, allocations: 98.91 kB / 1.057 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.508e-05/0.004006, allocations: 59.06 kB / 1.057 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.004027, allocations: 11.94 kB / 1.057 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-05/0.004043, allocations: 7.938 kB / 1.057 GB, free: 4.898 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