Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 110.7 kB / 16.42 MB, free: 5.938 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.001068/0.001068, allocations: 191.3 kB / 17.36 MB, free: 5.555 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.168/2.168, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.659e-05, allocations: 2.281 kB / 1.055 GB, free: 7.812 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001976/0.002, allocations: 1.487 MB / 1.056 GB, free: 6.32 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003119, allocations: 0.7439 MB / 1.057 GB, free: 5.57 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.003164, allocations: 0 / 1.057 GB, free: 5.57 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.003196, allocations: 7.938 kB / 1.057 GB, free: 5.562 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.003248, allocations: 15.86 kB / 1.057 GB, free: 5.547 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.003703, allocations: 115.6 kB / 1.057 GB, free: 5.434 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.003828, allocations: 83.75 kB / 1.057 GB, free: 5.352 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.00391, allocations: 12 kB / 1.057 GB, free: 5.34 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.003991, allocations: 35.91 kB / 1.057 GB, free: 5.305 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.004056, allocations: 39.83 kB / 1.057 GB, free: 5.266 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.004079, allocations: 8 kB / 1.057 GB, free: 5.258 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.004251, allocations: 95.84 kB / 1.057 GB, free: 5.164 MB / 0.8263 GB Notification: Performance of combineBinaries: time 8.021e-05/0.004339, allocations: 110.9 kB / 1.057 GB, free: 5.055 MB / 0.8263 GB Notification: Performance of replaceArrayConstructors: time 2.641e-05/0.004371, allocations: 59.12 kB / 1.057 GB, free: 4.996 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.004396, allocations: 11.94 kB / 1.057 GB, free: 4.984 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.15e-05/0.004412, allocations: 0 / 1.057 GB, free: 4.984 MB / 0.8263 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