Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001738/0.001738, allocations: 107.7 kB / 16.42 MB, free: 6.48 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.001733/0.001733, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.11/1.11, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.142/2.142, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.493e-05, allocations: 2.281 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001986/0.002008, allocations: 1.502 MB / 1.056 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003108, allocations: 0.74 MB / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.003157, allocations: 0 / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.003191, allocations: 3.938 kB / 1.057 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.00324, allocations: 11.88 kB / 1.057 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.003725, allocations: 123.6 kB / 1.057 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.003853, allocations: 79.77 kB / 1.057 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.003943, allocations: 23.95 kB / 1.057 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.004023, allocations: 27.92 kB / 1.057 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.004087, allocations: 43.81 kB / 1.057 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.004111, allocations: 12 kB / 1.057 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.004294, allocations: 95.84 kB / 1.057 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.089e-05/0.004383, allocations: 102.9 kB / 1.057 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.584e-05/0.004414, allocations: 59.11 kB / 1.057 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.004443, allocations: 15.94 kB / 1.057 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-05/0.004459, allocations: 0 / 1.057 GB, free: 4.859 MB / 0.8262 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