Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 109.2 kB / 16.42 MB, free: 6.457 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.001033/0.001033, allocations: 188.2 kB / 17.36 MB, free: 5.73 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.091/1.091, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.108/2.108, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.012e-05, allocations: 2.281 kB / 1.055 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001811/0.001828, allocations: 1.512 MB / 1.056 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.002862, allocations: 0.7594 MB / 1.057 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.002903, allocations: 0 / 1.057 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.002932, allocations: 3.938 kB / 1.057 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.003001, allocations: 23.84 kB / 1.057 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.003401, allocations: 127.5 kB / 1.057 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.003528, allocations: 95.75 kB / 1.057 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.003604, allocations: 12 kB / 1.057 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.003682, allocations: 51.83 kB / 1.057 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.003747, allocations: 35.84 kB / 1.057 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.003769, allocations: 8 kB / 1.057 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.003931, allocations: 103.8 kB / 1.057 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.257e-05/0.004021, allocations: 118.7 kB / 1.057 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.577e-05/0.004063, allocations: 74.88 kB / 1.057 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.004087, allocations: 12 kB / 1.057 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.001e-05/0.004101, allocations: 0 / 1.057 GB, free: 4.859 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then if not pre(bli.isOpen) then bli.pUp = 0.0; bli.pDown = exp(bli.ADown * bli.solarAltitude + bli.BDown) / (exp(bli.ADown * bli.solarAltitude + bli.BDown) + 1.0); bli.isOpen = Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)); elseif true then bli.pUp = exp(bli.AUp * bli.solarAltitude + bli.BUp) / (exp(bli.AUp * bli.solarAltitude + bli.BUp) + 1.0); bli.pDown = 0.0; bli.isOpen = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pUp, integer(bli.curSeed)); end if; elseif true then bli.pUp = 0.0; bli.pDown = 0.0; bli.isOpen = false; end if