Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_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_11_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.001184/0.001185, allocations: 110.1 kB / 16.42 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.001134/0.001134, allocations: 182 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.178/1.178, 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.1.0-maint.11.x/package.mo): time 2.287/2.287, allocations: 469.8 MB / 0.7431 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.761e-05, allocations: 3.969 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00214/0.002166, allocations: 1.482 MB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003314, allocations: 0.7439 MB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.003358, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.003394, allocations: 3.938 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.003449, allocations: 7.875 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.003928, allocations: 119.6 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.004074, allocations: 91.75 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.004163, allocations: 7.984 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.004247, allocations: 35.92 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.004312, allocations: 43.83 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.004334, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.004504, allocations: 95.83 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.415e-05/0.004606, allocations: 102.9 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.905e-05/0.00464, allocations: 59.11 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.004669, allocations: 15.94 kB / 1.069 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.004e-05/0.004683, allocations: 0 / 1.069 GB, free: 10.86 MB / 0.8419 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