Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.95/2.95, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001425, allocations: 186.6 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.086/2.086, allocations: 205.4 MB / 0.6301 GB, free: 10.35 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.001042/0.001042, allocations: 96.42 kB / 0.7434 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 17.75 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1565, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0008317/0.1574, allocations: 474.3 kB / 0.9792 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1587, allocations: 1.111 MB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.1588, allocations: 4 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.1588, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.1589, allocations: 7.922 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1594, allocations: 118 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.1595, allocations: 63.86 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.1596, allocations: 11.98 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.1597, allocations: 43.89 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.1597, allocations: 39.83 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1598, allocations: 4 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.1598, allocations: 15.98 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.1599, allocations: 15.92 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.1599, allocations: 33.7 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.1601, allocations: 79.81 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.141e-06/0.1601, allocations: 0 / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.887e-06/0.1601, allocations: 0 / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.095e-06/0.1601, allocations: 0 / 0.9807 GB, free: 26.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004434/0.1605, allocations: 401.1 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1606, allocations: 12.03 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.1607, allocations: 7.938 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.595e-05/0.1608, allocations: 178.9 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1608, allocations: 12 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1608, allocations: 11.94 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1611, allocations: 65.66 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.408e-06/0.1611, allocations: 0 / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1611, allocations: 4 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1611, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.1613, allocations: 55.95 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.1619, allocations: 348.6 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1621, allocations: 66.61 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1621, allocations: 0 / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.1624, allocations: 103.3 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.527e-06/0.1624, allocations: 0 / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005038/0.1629, allocations: 149.6 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1629, allocations: 59.34 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.163, allocations: 117.8 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1631, allocations: 33.7 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.1631, allocations: 88.14 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1632, allocations: 23.86 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.1632, allocations: 3.938 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.1633, allocations: 322.8 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1635, allocations: 55.97 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.1637, allocations: 92.25 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.1639, allocations: 85.67 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1639, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005551/0.1645, allocations: 219.1 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.1646, allocations: 38.95 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.01e-06/0.1646, allocations: 0 / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1646, allocations: 4 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1647, allocations: 15.98 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.346e-06/0.1648, allocations: 3.938 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.1651, allocations: 59.84 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.1651, allocations: 15.94 kB / 0.9833 GB, free: 23.25 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.598e-05/0.1652, allocations: 121.8 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.1652, allocations: 8 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.1653, allocations: 12.38 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-06/0.1653, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-06/0.1653, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-06/0.1653, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.1658, allocations: 394.3 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-06/0.1659, allocations: 0 / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.1659, allocations: 11.98 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.578e-06/0.166, allocations: 0 / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.166, allocations: 4 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.584e-06/0.166, allocations: 4 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-06/0.166, allocations: 3.953 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1663, allocations: 215.8 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.1664, allocations: 81.11 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1664, allocations: 7.922 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1665, allocations: 16 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1666, allocations: 12 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1666, allocations: 4 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.1667, allocations: 95.75 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.16e-07/0.1667, allocations: 0 / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003587/0.1671, allocations: 24 kB / 0.9842 GB, free: 22.16 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001378/0.1672, allocations: 113 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.1677, allocations: 187.3 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-06/0.1677, allocations: 0 / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1678, allocations: 44.23 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1681, allocations: 12.61 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.1685, allocations: 183.8 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.1686, allocations: 0.6965 MB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.398e-05/0.1687, allocations: 4 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1687, allocations: 11.44 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.378e-06/0.1687, allocations: 0 / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.004185/0.1729, allocations: 1.277 MB / 0.9867 GB, free: 19.59 MB / 0.6198 GB