Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 179.3 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.745/2.745, allocations: 205.4 MB / 0.5766 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 101 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 13.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.4446, allocations: 131.6 MB / 1.027 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4449, allocations: 75.94 kB / 1.028 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003947/0.4489, allocations: 0.9776 MB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4489, allocations: 0 / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.4489, allocations: 4 kB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000661/0.4496, allocations: 375 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4497, allocations: 12.03 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.4497, allocations: 3.906 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4499, allocations: 175 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.4499, allocations: 8 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.4499, allocations: 15.92 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.4502, allocations: 73.59 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4503, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4503, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4503, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.4507, allocations: 63.89 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.4513, allocations: 320.6 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.4521, allocations: 118.5 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4521, allocations: 0 / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.4525, allocations: 83.59 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.4525, allocations: 3.938 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006871/0.4532, allocations: 145.6 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4533, allocations: 51.41 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4534, allocations: 117.1 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4534, allocations: 25.7 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.4535, allocations: 100.3 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.4535, allocations: 11.81 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.4536, allocations: 4 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4537, allocations: 314.8 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4539, allocations: 35.98 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.4541, allocations: 63.34 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.4543, allocations: 31.98 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4543, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004578/0.4548, allocations: 125.5 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4548, allocations: 8 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4549, allocations: 8.094 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4549, allocations: 0 / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.455, allocations: 19.92 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4551, allocations: 7.953 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.4552, allocations: 11.98 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4553, allocations: 4.562 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001153/0.4554, allocations: 123 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.4554, allocations: 11.89 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.4555, allocations: 12.38 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4555, allocations: 0 / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4555, allocations: 3.938 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4555, allocations: 7.891 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.4563, allocations: 374.4 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4563, allocations: 0 / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4564, allocations: 11.98 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4564, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4564, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.4565, allocations: 7.953 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4565, allocations: 3.984 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.4569, allocations: 207.4 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.457, allocations: 77.11 kB / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.457, allocations: 11.98 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4572, allocations: 15.98 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.4573, allocations: 11.94 kB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4574, allocations: 4 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.4574, allocations: 91.27 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4574, allocations: 0 / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003131/0.4578, allocations: 19.91 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (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.0001452/0.4579, allocations: 99.25 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.4584, allocations: 79.89 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4584, allocations: 1.047 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.4586, allocations: 52.08 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4589, allocations: 15.98 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.4595, allocations: 187.2 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.4599, allocations: 0.6965 MB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.147e-05/0.4599, allocations: 3.938 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.46, allocations: 11.44 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/0.46, allocations: 0 / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of Templates: time 0.004021/0.464, allocations: 0.7617 MB / 1.034 GB, free: 7.461 MB / 0.6823 GB