Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001118/0.001118, allocations: 110.5 kB / 16.42 MB, free: 6.035 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.001148/0.001148, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.149/1.149, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.926/1.926, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.571e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002068/0.002092, allocations: 1.49 MB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003193, allocations: 0.7323 MB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.00324, allocations: 4 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.00327, allocations: 3.938 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.003325, allocations: 15.86 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.00378, allocations: 119.6 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.003911, allocations: 91.69 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.004002, allocations: 7.984 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.004081, allocations: 35.92 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.004145, allocations: 47.81 kB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.004165, allocations: 4 kB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.004333, allocations: 99.84 kB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.447e-05/0.004425, allocations: 102.9 kB / 0.9541 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.554e-05/0.004456, allocations: 55.12 kB / 0.9541 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.00448, allocations: 11.94 kB / 0.9542 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.047e-05/0.004495, allocations: 4 kB / 0.9542 GB, free: 4.914 MB / 0.7325 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