Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 107.6 kB / 16.42 MB, free: 6.484 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.001055/0.001055, allocations: 190 kB / 17.35 MB, free: 5.703 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.118/1.118, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.061/2.061, allocations: 437 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.195e-05, allocations: 2.281 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001962/0.001991, allocations: 1.499 MB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003048, allocations: 0.7323 MB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.003096, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.003126, allocations: 7.938 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.003173, allocations: 11.88 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.003628, allocations: 123.6 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.00374, allocations: 79.77 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.003823, allocations: 23.97 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.003903, allocations: 27.92 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.003966, allocations: 43.81 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.003988, allocations: 8 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.004153, allocations: 95.84 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.371e-05/0.004245, allocations: 102.8 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.638e-05/0.004276, allocations: 59.11 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.004304, allocations: 11.94 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-05/0.004321, allocations: 4 kB / 1.022 GB, free: 6.652 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