Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001143/0.001143, allocations: 108.4 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.00115/0.00115, allocations: 187.2 kB / 17.36 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.121/1.121, allocations: 222.9 MB / 241 MB, free: 15.16 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.048/2.048, allocations: 437 MB / 0.7111 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.109e-05, allocations: 2.5 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001819/0.001837, allocations: 1.508 MB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.00285, allocations: 0.7556 MB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.002894, allocations: 4 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.002923, allocations: 11.86 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.002985, allocations: 11.86 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.003386, allocations: 131.6 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.003513, allocations: 95.75 kB / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.003598, allocations: 8 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.003679, allocations: 55.83 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.003746, allocations: 43.83 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.003768, allocations: 12 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.003916, allocations: 91.84 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.425e-05/0.004018, allocations: 126.7 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.173e-05/0.004055, allocations: 70.88 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.004079, allocations: 12 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.041e-05/0.004093, allocations: 3.938 kB / 1.022 GB, free: 6.551 MB / 0.795 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