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 5.097/5.097, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 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.002382/0.002382, allocations: 355.9 kB / 0.644 GB, free: 185.6 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.085/4.085, allocations: 410.7 MB / 1.112 GB, free: 147.8 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.001685/0.001685, allocations: 171.6 kB / 1.225 GB, free: 35.9 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004901, allocations: 12.75 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1623, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0008122/0.1631, allocations: 478.2 kB / 1.461 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1644, allocations: 1.107 MB / 1.462 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.1645, allocations: 0 / 1.462 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1645, allocations: 0 / 1.462 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.1646, allocations: 7.875 kB / 1.462 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1651, allocations: 123.1 kB / 1.462 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.1652, allocations: 99.75 kB / 1.463 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.1653, allocations: 15.98 kB / 1.463 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.1653, allocations: 43.89 kB / 1.463 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.1654, allocations: 35.83 kB / 1.463 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1655, allocations: 8 kB / 1.463 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.1655, allocations: 15.98 kB / 1.463 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1656, allocations: 4 kB / 1.463 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.1656, allocations: 41.58 kB / 1.463 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1658, allocations: 83.8 kB / 1.463 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.363e-06/0.1658, allocations: 0 / 1.463 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.958e-06/0.1658, allocations: 0 / 1.463 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.1658, allocations: 0 / 1.463 GB, free: 4.512 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000456/0.1663, allocations: 405.1 kB / 1.463 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1663, allocations: 12.03 kB / 1.463 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.1664, allocations: 4 kB / 1.463 GB, free: 4.047 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.1664, allocations: 174.9 kB / 1.463 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1665, allocations: 8 kB / 1.463 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1665, allocations: 4 kB / 1.463 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1667, allocations: 77.59 kB / 1.463 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.845e-06/0.1668, allocations: 0 / 1.463 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1668, allocations: 4 kB / 1.463 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-06/0.1668, allocations: 0 / 1.463 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.167, allocations: 59.94 kB / 1.463 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1675, allocations: 336.7 kB / 1.464 GB, free: 3.301 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1677, allocations: 74.53 kB / 1.464 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1679, allocations: 36.95 kB / 1.464 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1679, allocations: 0 / 1.464 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.1682, allocations: 99.25 kB / 1.464 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.557e-06/0.1682, allocations: 0 / 1.464 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004888/0.1687, allocations: 161.6 kB / 1.464 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.1687, allocations: 59.36 kB / 1.464 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.1688, allocations: 121.7 kB / 1.464 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1688, allocations: 29.7 kB / 1.464 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.1689, allocations: 92.14 kB / 1.464 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1689, allocations: 15.8 kB / 1.464 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.169, allocations: 4 kB / 1.464 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.169, allocations: 318.8 kB / 1.465 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1692, allocations: 59.95 kB / 1.465 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1694, allocations: 88.25 kB / 1.465 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1697, allocations: 89.61 kB / 1.465 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-06/0.1697, allocations: 0 / 1.465 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005333/0.1702, allocations: 219.2 kB / 1.465 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.1703, allocations: 37.69 kB / 1.465 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-06/0.1703, allocations: 0 / 1.465 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1703, allocations: 4 kB / 1.465 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1704, allocations: 19.86 kB / 1.465 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.882e-06/0.1704, allocations: 7.953 kB / 1.465 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.1708, allocations: 59.89 kB / 1.465 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1708, allocations: 4 kB / 1.465 GB, free: 1.621 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: 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.773e-05/0.1709, allocations: 122.3 kB / 1.465 GB, free: 1.492 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.171, allocations: 11.98 kB / 1.465 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.171, allocations: 8.375 kB / 1.465 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-06/0.171, allocations: 4 kB / 1.465 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.171, allocations: 0 / 1.465 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.807e-06/0.171, allocations: 3.953 kB / 1.465 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.1717, allocations: 394.4 kB / 1.466 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1717, allocations: 0 / 1.466 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.1718, allocations: 11.98 kB / 1.466 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.831e-06/0.1718, allocations: 0 / 1.466 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1718, allocations: 0 / 1.466 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/0.1719, allocations: 8.016 kB / 1.466 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.1719, allocations: 3.938 kB / 1.466 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.1723, allocations: 219.4 kB / 1.466 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.1724, allocations: 81.11 kB / 1.466 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1724, allocations: 0 / 1.466 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1725, allocations: 11.98 kB / 1.466 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1726, allocations: 11.94 kB / 1.466 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1726, allocations: 4 kB / 1.466 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.914e-05/0.1727, allocations: 95.27 kB / 1.466 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.15e-07/0.1727, allocations: 0 / 1.466 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003759/0.1731, allocations: 20 kB / 1.466 GB, free: 0.5352 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 (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.0001884/0.1733, allocations: 107.2 kB / 1.466 GB, free: 428 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.1738, allocations: 187.3 kB / 1.467 GB, free: 228 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.586e-06/0.1739, allocations: 0 / 1.467 GB, free: 228 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.174, allocations: 48.16 kB / 1.467 GB, free: 180 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1744, allocations: 12.86 kB / 1.467 GB, free: 168 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.1749, allocations: 187.5 kB / 1.467 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1753, allocations: 0.6965 MB / 1.467 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.1754, allocations: 4 kB / 1.467 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.1754, allocations: 11.44 kB / 1.467 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of SimCode: time 1.829e-06/0.1754, allocations: 0 / 1.467 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.007377/0.1828, allocations: 1.276 MB / 1.469 GB, free: 13.96 MB / 0.6198 GB