Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 110.5 kB / 16.42 MB, free: 6.477 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.001133/0.001133, allocations: 183.2 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.182/1.182, 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 11.1.0-maint.11.x/package.mo): time 2.272/2.272, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.028e-05, allocations: 4.469 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.0023/0.002329, allocations: 1.497 MB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.003594, allocations: 0.74 MB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.003657, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.003698, allocations: 7.922 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.003753, allocations: 7.875 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.004331, allocations: 127.6 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.004477, allocations: 75.83 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.004569, allocations: 15.92 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.004663, allocations: 31.91 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.004742, allocations: 39.83 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.004768, allocations: 8 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.00497, allocations: 95.84 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.064e-05/0.00507, allocations: 102.9 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.007e-05/0.005107, allocations: 67.12 kB / 1.069 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.005135, allocations: 7.938 kB / 1.069 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.637e-05/0.005155, allocations: 0 / 1.069 GB, free: 10.81 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