Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.134/4.134, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.636e-05, allocations: 5.234 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 98.74 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.4341, allocations: 124.6 MB / 0.7564 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.4344, allocations: 71.95 kB / 0.7565 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003835/0.4383, allocations: 0.9739 MB / 0.7574 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4383, allocations: 0 / 0.7574 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.4383, allocations: 0 / 0.7574 GB, free: 4.051 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.000587/0.4389, allocations: 362.5 kB / 0.7578 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.439, allocations: 8.031 kB / 0.7578 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.422e-05/0.4391, allocations: 42.55 kB / 0.7578 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.4391, allocations: 11.84 kB / 0.7579 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.4393, allocations: 174.9 kB / 0.758 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4393, allocations: 8 kB / 0.758 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4394, allocations: 4 kB / 0.758 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4395, allocations: 57.61 kB / 0.7581 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.4395, allocations: 0 / 0.7581 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4396, allocations: 0 / 0.7581 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4396, allocations: 4 kB / 0.7581 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.4397, allocations: 20 kB / 0.7581 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.4403, allocations: 312.8 kB / 0.7584 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.4409, allocations: 102.6 kB / 0.7585 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.441, allocations: 16.98 kB / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.441, allocations: 0 / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.4412, allocations: 79.41 kB / 0.7586 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.4412, allocations: 0 / 0.7586 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002423/0.4414, allocations: 77.55 kB / 0.7587 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4415, allocations: 59.39 kB / 0.7587 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4416, allocations: 105.2 kB / 0.7588 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4417, allocations: 25.7 kB / 0.7589 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.4417, allocations: 100.2 kB / 0.7589 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4418, allocations: 24.11 kB / 0.759 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.4418, allocations: 4 kB / 0.759 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4419, allocations: 318.8 kB / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.442, allocations: 16 kB / 0.7593 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.4421, allocations: 51.3 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.4422, allocations: 21.89 kB / 0.7594 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4422, allocations: 4 kB / 0.7594 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.4424, allocations: 81.62 kB / 0.7594 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4424, allocations: 8 kB / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4424, allocations: 0 / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4425, allocations: 0 / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4426, allocations: 23.88 kB / 0.7595 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4427, allocations: 4 kB / 0.7595 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4428, allocations: 19.98 kB / 0.7595 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4428, allocations: 4 kB / 0.7595 GB, free: 1.707 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 8.829e-05/0.4429, allocations: 112.9 kB / 0.7596 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.443, allocations: 4 kB / 0.7596 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.443, allocations: 8.625 kB / 0.7596 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4431, allocations: 0 / 0.7596 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.4431, allocations: 15.94 kB / 0.7596 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4431, allocations: 64 / 0.7596 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.4436, allocations: 338.4 kB / 0.76 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4436, allocations: 0 / 0.76 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4437, allocations: 11.98 kB / 0.76 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4437, allocations: 0 / 0.76 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.4437, allocations: 7.953 kB / 0.76 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4438, allocations: 0 / 0.76 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4438, allocations: 4 kB / 0.76 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.444, allocations: 179.6 kB / 0.7602 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.4441, allocations: 85 kB / 0.7602 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.4441, allocations: 4 kB / 0.7602 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4443, allocations: 15.94 kB / 0.7603 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.4444, allocations: 11.98 kB / 0.7603 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4444, allocations: 8 kB / 0.7603 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.4445, allocations: 91.41 kB / 0.7604 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.134e-06/0.4445, allocations: 0 / 0.7604 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002973/0.4448, allocations: 19.92 kB / 0.7604 GB, free: 0.7031 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.0005582/0.4454, allocations: 0.7085 MB / 0.7611 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.4456, allocations: 51.92 kB / 0.7611 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4456, allocations: 0 / 0.7611 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.4457, allocations: 27.98 kB / 0.7611 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.446, allocations: 7.953 kB / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.4466, allocations: 152 kB / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4469, allocations: 0.6887 MB / 0.762 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.496e-05/0.447, allocations: 11.77 kB / 0.762 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.943e-05/0.4471, allocations: 19.44 kB / 0.762 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.4471, allocations: 0 / 0.762 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.474, allocations: 1.671 MB / 0.7636 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003518/0.4744, allocations: 161.7 kB / 0.7638 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.708, allocations: 3.938 kB / 0.7638 GB, free: 13.13 MB / 0.6511 GB