Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 115.3 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.001063/0.001063, allocations: 183.2 kB / 17.35 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.127/1.127, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.045/2.045, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.447e-05, allocations: 4.531 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001912/0.001933, allocations: 1.495 MB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.002968, allocations: 0.7362 MB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.003012, allocations: 0 / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.003045, allocations: 7.875 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.00309, allocations: 7.938 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.003524, allocations: 123.6 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.003642, allocations: 83.77 kB / 1.022 GB, free: 7.012 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.728e-05/0.003725, allocations: 19.97 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.0038, allocations: 27.92 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.003859, allocations: 39.83 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003881, allocations: 8 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.004043, allocations: 99.83 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.169e-05/0.004134, allocations: 102.9 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.555e-05/0.004164, allocations: 59.12 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.004189, allocations: 7.938 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.365e-05/0.004206, allocations: 4 kB / 1.022 GB, free: 6.648 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