Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 115.2 kB / 16.43 MB, free: 6.523 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.001062/0.001062, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.113/1.113, 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.053/2.053, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.002e-05, allocations: 4.25 kB / 1.019 GB, free: 9.539 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00187/0.001888, allocations: 1.499 MB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002941, allocations: 0.7595 MB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.002988, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.003021, allocations: 7.875 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.003075, allocations: 19.84 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.003522, allocations: 127.6 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.003646, allocations: 95.75 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.003733, allocations: 12 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.003816, allocations: 51.83 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.003877, allocations: 35.84 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.003898, allocations: 8 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.004055, allocations: 99.84 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.968e-05/0.004162, allocations: 122.7 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.356e-05/0.004201, allocations: 74.88 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.004226, allocations: 12 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.614e-05/0.004246, allocations: 0 / 1.022 GB, free: 6.609 MB / 0.795 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then if pre(bli.isOpen) == false then bli.pUp = 0.0; bli.pDown = exp(bli.ADown * bli.H + bli.BDown) / (exp(bli.ADown * bli.H + bli.BDown) + 1.0); bli.isOpen = Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)); elseif true then bli.pUp = exp(bli.AUp * bli.H + bli.BUp) / (exp(bli.AUp * bli.H + 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