Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_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_11_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.0009512/0.0009513, allocations: 110.1 kB / 16.42 MB, free: 6.422 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.0008811/0.0008811, allocations: 188.3 kB / 17.36 MB, free: 5.684 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.166/1.166, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.325/2.325, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.394e-05, allocations: 2.281 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001902/0.001925, allocations: 1.509 MB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003009, allocations: 0.7556 MB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.003054, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.003086, allocations: 3.938 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.003134, allocations: 11.86 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.003571, allocations: 131.5 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.003706, allocations: 95.81 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.653e-05/0.00379, allocations: 7.984 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.00388, allocations: 47.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.003946, allocations: 47.81 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.003971, allocations: 8 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.004138, allocations: 95.84 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.181e-05/0.004237, allocations: 122.7 kB / 1.069 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.073e-05/0.004274, allocations: 70.88 kB / 1.069 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.004302, allocations: 12 kB / 1.069 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.224e-05/0.004319, allocations: 7.922 kB / 1.069 GB, free: 10.73 MB / 0.8419 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