Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001088/0.001089, allocations: 110.6 kB / 16.43 MB, free: 6.523 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.001048/0.001048, allocations: 190 kB / 17.36 MB, free: 5.746 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.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.034/2.034, allocations: 437 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.711e-05, allocations: 6.219 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001828/0.001852, allocations: 1.486 MB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.002842, allocations: 0.7439 MB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.002884, allocations: 0 / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.002909, allocations: 3.938 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.002955, allocations: 11.86 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.003378, allocations: 119.6 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.003486, allocations: 83.75 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.003564, allocations: 15.98 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.201e-05/0.003641, allocations: 31.92 kB / 1.022 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.003703, allocations: 43.81 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.003728, allocations: 4 kB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.003896, allocations: 99.84 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.685e-05/0.003991, allocations: 102.9 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.655e-05/0.004023, allocations: 59.12 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.004046, allocations: 7.938 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.036e-05/0.00406, allocations: 4 kB / 1.022 GB, free: 6.727 MB / 0.795 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