Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.615/2.615, allocations: 287.9 MB / 302.9 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 187.6 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 92.36 kB / 0.7434 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004697, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1584, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00106/0.1595, allocations: 0.9297 MB / 0.9796 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000686/0.1602, allocations: 366.5 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.1602, allocations: 0 / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.1603, allocations: 0 / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.629e-05/0.1603, allocations: 0 / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1607, allocations: 75.8 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.1608, allocations: 11.97 kB / 0.9801 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.1608, allocations: 0 / 0.9801 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.1608, allocations: 7.938 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.543e-05/0.1609, allocations: 7.984 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1609, allocations: 4 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.161, allocations: 63.88 kB / 0.9802 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.1611, allocations: 3.984 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1611, allocations: 33.7 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1612, allocations: 59.84 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.401e-06/0.1613, allocations: 0 / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.59e-06/0.1613, allocations: 4 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.809e-06/0.1613, allocations: 0 / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003294/0.1616, allocations: 365.3 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1617, allocations: 8.031 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.1617, allocations: 7.906 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.936e-05/0.1618, allocations: 163 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1618, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1618, allocations: 4 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/0.162, allocations: 45.61 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.162, allocations: 0 / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.162, allocations: 4 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-06/0.162, allocations: 0 / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.162, allocations: 4 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.1622, allocations: 157.6 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.1623, allocations: 30.61 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.1623, allocations: 0 / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.1624, allocations: 59.44 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.523e-06/0.1625, allocations: 0 / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002144/0.1627, allocations: 65.66 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1627, allocations: 55.41 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.1628, allocations: 101.8 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1628, allocations: 29.64 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.1628, allocations: 92.25 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1629, allocations: 7.906 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-06/0.1629, allocations: 0 / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.1629, allocations: 314.8 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.163, allocations: 7.984 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.163, allocations: 39.36 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.1631, allocations: 15.95 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-06/0.1631, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001331/0.1632, allocations: 69.52 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1633, allocations: 9.25 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1633, allocations: 0 / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1633, allocations: 0 / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.1634, allocations: 11.94 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.29e-06/0.1634, allocations: 0 / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.1634, allocations: 8.094 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-06/0.1635, allocations: 0 / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.1635, allocations: 125.7 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.1636, allocations: 0 / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.1636, allocations: 3.5 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-06/0.1636, allocations: 4 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1636, allocations: 0 / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-06/0.1636, allocations: 0 / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.099e-05/0.1637, allocations: 153.7 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-06/0.1637, allocations: 7.953 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.1638, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.258e-06/0.1638, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1638, allocations: 4 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.162e-06/0.1638, allocations: 4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1638, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.164, allocations: 88.95 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.164, allocations: 81.06 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.164, allocations: 3.984 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.807e-05/0.1641, allocations: 4 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.1641, allocations: 4 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.1641, allocations: 3.938 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.1642, allocations: 83.28 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.74e-07/0.1642, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003183/0.1645, allocations: 27.98 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003465/0.1649, allocations: 165.4 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.165, allocations: 27.92 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.859e-06/0.165, allocations: 0 / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.1651, allocations: 8 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.1652, allocations: 4 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.1654, allocations: 112.8 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.1656, allocations: 0.6809 MB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.199e-05/0.1656, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.1656, allocations: 15.42 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of SimCode: time 1.385e-06/0.1656, allocations: 0 / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.003529/0.1692, allocations: 0.9211 MB / 0.9843 GB, free: 22.11 MB / 0.6198 GB