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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.136/4.136, allocations: 433.2 MB / 440.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.297e-05, allocations: 6.562 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 98.73 MB / 0.6289 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.4314, allocations: 124 MB / 0.75 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4317, allocations: 71.95 kB / 0.75 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003746/0.4354, allocations: 0.9619 MB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4355, allocations: 0 / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.4355, allocations: 8 kB / 0.751 GB, free: 11.91 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.0005687/0.4361, allocations: 362.5 kB / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4361, allocations: 8.031 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.4362, allocations: 11.86 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4363, allocations: 171 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4364, allocations: 4 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4364, allocations: 11.94 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/0.4365, allocations: 20 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4367, allocations: 49.69 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4367, allocations: 0 / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4367, allocations: 3.984 kB / 0.7516 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4367, allocations: 3.984 kB / 0.7516 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.4373, allocations: 285.3 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.4379, allocations: 102.5 kB / 0.752 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.4379, allocations: 20.98 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.438, allocations: 4 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.4381, allocations: 59.41 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.827e-06/0.4381, allocations: 4.094 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002213/0.4384, allocations: 85.45 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4384, allocations: 59.39 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.4385, allocations: 101.2 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.4386, allocations: 29.64 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.4386, allocations: 100.2 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4387, allocations: 7.812 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.4387, allocations: 4 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4388, allocations: 318.8 kB / 0.7527 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.4389, allocations: 16 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.439, allocations: 39.44 kB / 0.7528 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/0.4391, allocations: 27.92 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4391, allocations: 0 / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.4393, allocations: 77.69 kB / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4393, allocations: 4 kB / 0.7529 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4393, allocations: 4 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4393, allocations: 0 / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4395, allocations: 15.98 kB / 0.7529 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4395, allocations: 3.953 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.4397, allocations: 23.89 kB / 0.7529 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4397, allocations: 8.031 kB / 0.7529 GB, free: 9.688 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.569e-05/0.4398, allocations: 104.9 kB / 0.753 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001496/0.44, allocations: 65.69 kB / 0.7531 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.44, allocations: 7.906 kB / 0.7531 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.44, allocations: 13.19 kB / 0.7531 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4401, allocations: 3.953 kB / 0.7531 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4401, allocations: 3.984 kB / 0.7531 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4401, allocations: 0 / 0.7531 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.4405, allocations: 307.1 kB / 0.7534 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4405, allocations: 0 / 0.7534 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.4406, allocations: 15.92 kB / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4406, allocations: 4 kB / 0.7534 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.4406, allocations: 7.953 kB / 0.7534 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4407, allocations: 0 / 0.7534 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4407, allocations: 3.984 kB / 0.7534 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.4409, allocations: 171.4 kB / 0.7536 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.4409, allocations: 85.02 kB / 0.7537 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.441, allocations: 0 / 0.7537 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.4412, allocations: 23.88 kB / 0.7537 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.4413, allocations: 11.97 kB / 0.7537 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.4413, allocations: 3.938 kB / 0.7537 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.803e-05/0.4413, allocations: 87.28 kB / 0.7538 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4413, allocations: 4 kB / 0.7538 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000306/0.4417, allocations: 12 kB / 0.7538 GB, free: 8.68 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.0005113/0.4422, allocations: 0.7046 MB / 0.7545 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.4424, allocations: 43.94 kB / 0.7546 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4424, allocations: 4.188 kB / 0.7546 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.4425, allocations: 23.94 kB / 0.7546 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.4427, allocations: 17.33 kB / 0.7546 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.4434, allocations: 141.4 kB / 0.7547 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4437, allocations: 0.7002 MB / 0.7554 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.152e-05/0.4438, allocations: 3.781 kB / 0.7554 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.4438, allocations: 19.44 kB / 0.7554 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.4439, allocations: 0 / 0.7554 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.4791, allocations: 1.34 MB / 0.7567 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/0.4795, allocations: 150.9 kB / 0.7569 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.717, allocations: 3.938 kB / 0.7569 GB, free: 5.414 MB / 0.6355 GB