Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.912/4.912, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002416/0.002415, allocations: 354.6 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.078/4.078, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 188 kB / 1.225 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005088, allocations: 16.92 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1606, allocations: 115.3 MB / 1.461 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.000695/0.1613, allocations: 392.8 kB / 1.461 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1626, allocations: 1.124 MB / 1.462 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.1627, allocations: 0 / 1.462 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.1627, allocations: 0 / 1.462 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.1628, allocations: 15.91 kB / 1.462 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.1634, allocations: 199.3 kB / 1.462 GB, free: 4.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1636, allocations: 127.7 kB / 1.463 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.887e-05/0.1637, allocations: 11.94 kB / 1.463 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.1638, allocations: 59.88 kB / 1.463 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.1639, allocations: 43.88 kB / 1.463 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1639, allocations: 8 kB / 1.463 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.502e-05/0.164, allocations: 23.98 kB / 1.463 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.164, allocations: 7.984 kB / 1.463 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1641, allocations: 41.64 kB / 1.463 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1642, allocations: 104 kB / 1.463 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.834e-06/0.1642, allocations: 0 / 1.463 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.797e-06/0.1642, allocations: 0 / 1.463 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1643, allocations: 0 / 1.463 GB, free: 4.484 MB / 0.6042 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.0003425/0.1646, allocations: 406.7 kB / 1.463 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1647, allocations: 12.03 kB / 1.463 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.1647, allocations: 7.906 kB / 1.463 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.1648, allocations: 175 kB / 1.463 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1648, allocations: 8 kB / 1.463 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1649, allocations: 8 kB / 1.463 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.165, allocations: 49.62 kB / 1.463 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.393e-06/0.165, allocations: 0 / 1.463 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.165, allocations: 7.984 kB / 1.463 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-06/0.1651, allocations: 0 / 1.463 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.1651, allocations: 12 kB / 1.463 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.1656, allocations: 360.6 kB / 1.464 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.1657, allocations: 38.5 kB / 1.464 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.466e-05/0.1657, allocations: 16.86 kB / 1.464 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1657, allocations: 3.938 kB / 1.464 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.1659, allocations: 75.47 kB / 1.464 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.1659, allocations: 0 / 1.464 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002519/0.1662, allocations: 113.7 kB / 1.464 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1662, allocations: 59.39 kB / 1.464 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.1663, allocations: 121.9 kB / 1.464 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1663, allocations: 29.7 kB / 1.464 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.1664, allocations: 88.33 kB / 1.464 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1664, allocations: 19.8 kB / 1.464 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.1665, allocations: 4 kB / 1.464 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.1665, allocations: 314.8 kB / 1.465 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1667, allocations: 67.95 kB / 1.465 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1669, allocations: 84.27 kB / 1.465 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1671, allocations: 115.3 kB / 1.465 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1671, allocations: 0 / 1.465 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004894/0.1676, allocations: 260.8 kB / 1.465 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.1676, allocations: 71.39 kB / 1.465 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-06/0.1676, allocations: 0 / 1.465 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1677, allocations: 4 kB / 1.465 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.106e-05/0.1677, allocations: 0 / 1.465 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.993e-06/0.1677, allocations: 12.05 kB / 1.465 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.1682, allocations: 79.81 kB / 1.465 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.1682, allocations: 15.98 kB / 1.465 GB, free: 1.613 MB / 0.6042 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,or1.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 0.0001093/0.1683, allocations: 125.7 kB / 1.465 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.1684, allocations: 7.906 kB / 1.465 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.1684, allocations: 12.38 kB / 1.466 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1684, allocations: 0 / 1.466 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.134e-06/0.1684, allocations: 0 / 1.466 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.875e-06/0.1684, allocations: 7.969 kB / 1.466 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1686, allocations: 177.6 kB / 1.466 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-06/0.1686, allocations: 0 / 1.466 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.1686, allocations: 4 kB / 1.466 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.348e-06/0.1687, allocations: 4.469 kB / 1.466 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1687, allocations: 0 / 1.466 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.786e-06/0.1687, allocations: 3.984 kB / 1.466 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1687, allocations: 7.938 kB / 1.466 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1689, allocations: 109 kB / 1.466 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.169, allocations: 88.94 kB / 1.466 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.169, allocations: 4 kB / 1.466 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.909e-05/0.1691, allocations: 3.938 kB / 1.466 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1691, allocations: 7.984 kB / 1.466 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1691, allocations: 0 / 1.466 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.882e-05/0.1692, allocations: 95.27 kB / 1.466 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.9e-07/0.1692, allocations: 0 / 1.466 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003386/0.1696, allocations: 32 kB / 1.466 GB, free: 0.8438 MB / 0.6042 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,or1.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.0001711/0.1697, allocations: 103.7 kB / 1.466 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.1702, allocations: 246.7 kB / 1.466 GB, free: 476 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.588e-06/0.1702, allocations: 0 / 1.466 GB, free: 476 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.1703, allocations: 27.98 kB / 1.466 GB, free: 448 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1706, allocations: 24.19 kB / 1.466 GB, free: 424 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.171, allocations: 163.5 kB / 1.467 GB, free: 240 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1714, allocations: 0.6887 MB / 1.467 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.1714, allocations: 11.98 kB / 1.467 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.1714, allocations: 11.44 kB / 1.467 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/0.1715, allocations: 0 / 1.467 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.00526/0.1767, allocations: 1.675 MB / 1.469 GB, free: 13.85 MB / 0.6198 GB