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.374/2.374, allocations: 253.2 MB / 260.6 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 186 kB / 319.9 MB, free: 3.062 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.254/2.254, allocations: 205.6 MB / 0.5708 GB, free: 15.21 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.001192/0.001191, allocations: 94.25 kB / 0.6751 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.435e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2368, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9222/1.159, allocations: 131.8 MB / 1.017 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.159, allocations: 71.64 kB / 1.017 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003801/1.163, allocations: 0.9721 MB / 1.018 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.312e-06/1.163, allocations: 0 / 1.018 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.163, allocations: 0 / 1.018 GB, free: 4.449 MB / 0.6355 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.0006213/1.164, allocations: 368.5 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.164, allocations: 16.03 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/1.164, allocations: 3.906 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/1.164, allocations: 170.9 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.164, allocations: 4 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/1.164, allocations: 4 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001152/1.164, allocations: 22.8 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/1.164, allocations: 52.12 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.165, allocations: 0 / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.165, allocations: 0 / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.165, allocations: 4 kB / 1.019 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/1.165, allocations: 289.9 kB / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/1.166, allocations: 100.5 kB / 1.019 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/1.166, allocations: 16.61 kB / 1.019 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/1.166, allocations: 2.625 kB / 1.019 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/1.166, allocations: 74.06 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/1.166, allocations: 0 / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002497/1.166, allocations: 72.22 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.166, allocations: 63.3 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/1.167, allocations: 103.7 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.167, allocations: 29.7 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/1.167, allocations: 90.92 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/1.167, allocations: 11.78 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/1.167, allocations: 4 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.167, allocations: 314.8 kB / 1.02 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/1.167, allocations: 18.44 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.65e-05/1.167, allocations: 37.62 kB / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/1.167, allocations: 15.55 kB / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.167, allocations: 8 kB / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/1.167, allocations: 75.03 kB / 1.02 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.167, allocations: 8 kB / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.167, allocations: 0 / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.167, allocations: 3.938 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/1.168, allocations: 15.98 kB / 1.02 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.168, allocations: 4 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/1.168, allocations: 20.03 kB / 1.02 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/1.168, allocations: 7.312 kB / 1.02 GB, free: 2.363 MB / 0.6355 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 () * 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 9.898e-05/1.168, allocations: 108.9 kB / 1.02 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/1.168, allocations: 7.906 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/1.168, allocations: 12.11 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.168, allocations: 0 / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.168, allocations: 0 / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.168, allocations: 8.484 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/1.168, allocations: 318.2 kB / 1.021 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.168, allocations: 0 / 1.021 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.937e-05/1.169, allocations: 8 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.169, allocations: 3.984 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.169, allocations: 0 / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.169, allocations: 3.938 kB / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.169, allocations: 4 kB / 1.021 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/1.169, allocations: 185 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/1.169, allocations: 81.02 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/1.169, allocations: 0 / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/1.169, allocations: 19.97 kB / 1.021 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/1.169, allocations: 11.92 kB / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.169, allocations: 4 kB / 1.021 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.9e-05/1.169, allocations: 87.09 kB / 1.021 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.169, allocations: 4 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003128/1.17, allocations: 15.89 kB / 1.021 GB, free: 1.457 MB / 0.6355 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) * 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.0001509/1.17, allocations: 105 kB / 1.021 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001645/1.17, allocations: 38.38 kB / 1.021 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.17, allocations: 0 / 1.021 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/1.17, allocations: 26.19 kB / 1.021 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/1.17, allocations: 17.98 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/1.171, allocations: 125.2 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.171, allocations: 0.6885 MB / 1.022 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.128e-05/1.171, allocations: 8 kB / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/1.171, allocations: 11.44 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/1.171, allocations: 0 / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of Templates: time 0.003844/1.175, allocations: 0.7239 MB / 1.023 GB, free: 15.71 MB / 0.6511 GB