Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 115.9 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.001111/0.001111, allocations: 182 kB / 17.36 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.176/1.176, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.316/2.316, allocations: 469.8 MB / 0.7431 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.795e-05, allocations: 8.609 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001705/0.001731, allocations: 1.212 MB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006611/0.002405, allocations: 382.8 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.002438, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.002456, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.608e-05/0.002486, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.002915, allocations: 103.6 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.003006, allocations: 15.98 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.003045, allocations: 7.938 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.003068, allocations: 7.938 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.275e-05/0.003095, allocations: 7.969 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.00311, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.00327, allocations: 79.92 kB / 1.068 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of combineBinaries: time 3.719e-05/0.003316, allocations: 27.73 kB / 1.068 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.054e-05/0.003331, allocations: 15.75 kB / 1.068 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.003351, allocations: 4 kB / 1.068 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.552e-06/0.003362, allocations: 0 / 1.068 GB, free: 11.77 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.binaryVariableGeneration(p, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if