Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.639/2.639, allocations: 287.9 MB / 302.9 MB, free: 8.234 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.001585/0.001585, allocations: 185.1 kB / 371.4 MB, free: 10.64 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.151/2.151, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001011/0.001011, allocations: 92.42 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004637, allocations: 16.36 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1596, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0006609/0.1603, allocations: 388.8 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1615, allocations: 1.132 MB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.1616, allocations: 0 / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.1616, allocations: 4 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.1617, allocations: 15.92 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.1624, allocations: 196.6 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1625, allocations: 79.84 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.1626, allocations: 11.94 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.1627, allocations: 59.94 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.1628, allocations: 47.8 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1628, allocations: 12 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.1629, allocations: 19.98 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.1629, allocations: 7.984 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.163, allocations: 41.7 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1631, allocations: 99.98 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.1e-06/0.1631, allocations: 0 / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.08e-06/0.1632, allocations: 0 / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.1632, allocations: 0 / 0.9808 GB, free: 26.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003375/0.1635, allocations: 414.6 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1636, allocations: 16 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.1636, allocations: 11.91 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.505e-05/0.1637, allocations: 167 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1638, allocations: 4 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1638, allocations: 15.98 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1639, allocations: 49.67 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1639, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.164, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-06/0.164, allocations: 4 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.164, allocations: 19.94 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1645, allocations: 356.6 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.1646, allocations: 34.56 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.856e-06/0.1646, allocations: 0 / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.1648, allocations: 87.39 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.1648, allocations: 0 / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002401/0.165, allocations: 97.58 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.1651, allocations: 59.34 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.1652, allocations: 125.9 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.1652, allocations: 33.7 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.1653, allocations: 88.33 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1653, allocations: 19.78 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.1653, allocations: 8 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.1654, allocations: 314.8 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1656, allocations: 59.97 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.1657, allocations: 92.19 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1659, allocations: 115.4 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-06/0.1659, allocations: 0 / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004918/0.1664, allocations: 260.8 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.1665, allocations: 71.39 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.95e-06/0.1665, allocations: 0 / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1665, allocations: 0 / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.1666, allocations: 7.938 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.223e-06/0.1666, allocations: 0 / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.167, allocations: 76.05 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.1671, allocations: 19.94 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.104e-05/0.1672, allocations: 130.8 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.1672, allocations: 3.906 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.1673, allocations: 12.38 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-06/0.1673, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-06/0.1673, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-06/0.1673, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1674, allocations: 177.6 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1674, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.1674, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.235e-06/0.1675, allocations: 8 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.166e-06/0.1675, allocations: 480 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.499e-06/0.1675, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1675, allocations: 3.938 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1677, allocations: 117 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.1677, allocations: 85 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1677, allocations: 8 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.1678, allocations: 7.938 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1678, allocations: 8 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1678, allocations: 7.984 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.1679, allocations: 87.28 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.18e-07/0.1679, allocations: 0 / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003081/0.1682, allocations: 31.98 kB / 0.984 GB, free: 22.42 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001248/0.1683, allocations: 107.2 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.1687, allocations: 238.9 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.802e-06/0.1687, allocations: 8 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.1688, allocations: 23.98 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.169, allocations: 19.94 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.1693, allocations: 159.6 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.1695, allocations: 0.6887 MB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.1695, allocations: 4 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.1695, allocations: 15.42 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.37e-06/0.1696, allocations: 0 / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.004575/0.1741, allocations: 1.686 MB / 0.9869 GB, free: 19.42 MB / 0.6198 GB