Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.831/2.831, allocations: 287.9 MB / 302.9 MB, free: 8.34 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.001426/0.001426, allocations: 175.3 kB / 371.4 MB, free: 10.66 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.161/2.161, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001044/0.001044, allocations: 93.56 kB / 0.7434 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 16.34 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1562, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0008119/0.157, allocations: 474.3 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1583, allocations: 1.107 MB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.1584, allocations: 0 / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.1584, allocations: 0 / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.1585, allocations: 15.97 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.159, allocations: 125.5 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.1591, allocations: 55.88 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.1592, allocations: 11.98 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.1593, allocations: 43.89 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.1594, allocations: 31.89 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1594, allocations: 8 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.1595, allocations: 19.98 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1596, allocations: 7.984 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1596, allocations: 41.64 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1597, allocations: 71.83 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.784e-06/0.1598, allocations: 0 / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.957e-06/0.1598, allocations: 0 / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1598, allocations: 0 / 0.9807 GB, free: 26.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004484/0.1602, allocations: 397.1 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1603, allocations: 16.02 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.1603, allocations: 4 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.1604, allocations: 182.9 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1605, allocations: 4 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.1605, allocations: 11.94 kB / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1607, allocations: 69.59 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.212e-06/0.1607, allocations: 0 / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1608, allocations: 8 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.1608, allocations: 0 / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.161, allocations: 51.95 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.1615, allocations: 332.7 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1617, allocations: 62.55 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1617, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.162, allocations: 99.55 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.162, allocations: 0 / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004886/0.1625, allocations: 157.5 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1625, allocations: 59.39 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.1626, allocations: 121.7 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1627, allocations: 29.7 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.1627, allocations: 92.12 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1628, allocations: 19.8 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.1628, allocations: 4 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.1629, allocations: 326.8 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.1631, allocations: 55.97 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1633, allocations: 92.25 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.1635, allocations: 85.61 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-06/0.1635, allocations: 0 / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005368/0.1641, allocations: 219.2 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.1641, allocations: 37.64 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.398e-06/0.1642, allocations: 0 / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1642, allocations: 4 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1643, allocations: 16.05 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.675e-06/0.1643, allocations: 8 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1646, allocations: 51.89 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1647, allocations: 11.95 kB / 0.9832 GB, free: 23.3 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: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.467e-05/0.1648, allocations: 125.8 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1648, allocations: 15.89 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.1648, allocations: 8.375 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.393e-06/0.1648, allocations: 4 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.408e-06/0.1649, allocations: 0 / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.147e-06/0.1649, allocations: 0 / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.1654, allocations: 386.4 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1654, allocations: 4 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.1655, allocations: 15.98 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1655, allocations: 0 / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1655, allocations: 0 / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.366e-06/0.1656, allocations: 4.328 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1656, allocations: 4 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1659, allocations: 219.3 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.1659, allocations: 81.02 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.166, allocations: 15.98 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1661, allocations: 4 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1662, allocations: 7.984 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1662, allocations: 4 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.1663, allocations: 95.22 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.01e-07/0.1663, allocations: 0 / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003666/0.1666, allocations: 24 kB / 0.9842 GB, free: 22.21 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001437/0.1668, allocations: 108.1 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1672, allocations: 183.3 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.763e-06/0.1673, allocations: 3.938 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1674, allocations: 48.22 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.1677, allocations: 17.02 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.1681, allocations: 179.2 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.1682, allocations: 0.6926 MB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.1683, allocations: 4 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.1683, allocations: 15.38 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.492e-06/0.1683, allocations: 0 / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.004227/0.1726, allocations: 1.269 MB / 0.9867 GB, free: 19.64 MB / 0.6198 GB