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.Edge.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.Edge,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.164/4.164, allocations: 432.6 MB / 445.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.453e-05, allocations: 5.188 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.21, allocations: 98.74 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.4412, allocations: 124.6 MB / 0.7564 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4415, allocations: 67.97 kB / 0.7565 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003834/0.4454, allocations: 0.9583 MB / 0.7574 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4454, allocations: 0 / 0.7574 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4454, allocations: 7.938 kB / 0.7574 GB, free: 4.043 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006046/0.4461, allocations: 366.4 kB / 0.7578 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.4461, allocations: 8.031 kB / 0.7578 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.4462, allocations: 38.56 kB / 0.7578 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.4462, allocations: 11.86 kB / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.4464, allocations: 170.9 kB / 0.758 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.4465, allocations: 4 kB / 0.758 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4465, allocations: 4 kB / 0.758 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4466, allocations: 53.67 kB / 0.7581 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4467, allocations: 3.938 kB / 0.7581 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4467, allocations: 4 kB / 0.7581 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4467, allocations: 0 / 0.7581 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.4468, allocations: 23.98 kB / 0.7581 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.4474, allocations: 304.8 kB / 0.7584 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.448, allocations: 106.5 kB / 0.7585 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.4481, allocations: 16.98 kB / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.4481, allocations: 0 / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.4483, allocations: 75.45 kB / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.4483, allocations: 0 / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002516/0.4486, allocations: 77.55 kB / 0.7586 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.4487, allocations: 59.34 kB / 0.7587 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4488, allocations: 109.2 kB / 0.7588 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4488, allocations: 25.7 kB / 0.7588 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.4489, allocations: 88.14 kB / 0.7589 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.4489, allocations: 27.72 kB / 0.7589 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.449, allocations: 0 / 0.7589 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4491, allocations: 319.2 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.4492, allocations: 16 kB / 0.7593 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.4493, allocations: 47.36 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.299e-05/0.4493, allocations: 21.91 kB / 0.7593 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4494, allocations: 0 / 0.7593 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002129/0.4496, allocations: 89.47 kB / 0.7594 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4496, allocations: 4 kB / 0.7594 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4496, allocations: 4 kB / 0.7594 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4496, allocations: 3.953 kB / 0.7594 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.4498, allocations: 20.05 kB / 0.7594 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4498, allocations: 0 / 0.7594 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.45, allocations: 24.08 kB / 0.7595 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.45, allocations: 4 kB / 0.7595 GB, free: 1.719 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,$PRE.edge1.u,edge1.u,edge1.y) * 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.909e-05/0.4501, allocations: 124.8 kB / 0.7596 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.4502, allocations: 7.906 kB / 0.7596 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.4502, allocations: 8.625 kB / 0.7596 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4502, allocations: 0 / 0.7596 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4503, allocations: 7.953 kB / 0.7596 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4503, allocations: 0 / 0.7596 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.4508, allocations: 330.6 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4508, allocations: 3.938 kB / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4509, allocations: 11.98 kB / 0.7599 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4509, allocations: 0 / 0.7599 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4509, allocations: 3.953 kB / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4509, allocations: 0 / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.451, allocations: 4 kB / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.4512, allocations: 175.4 kB / 0.7601 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.4513, allocations: 85.02 kB / 0.7602 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4513, allocations: 0 / 0.7602 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.4515, allocations: 23.94 kB / 0.7602 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.4516, allocations: 7.984 kB / 0.7602 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.4516, allocations: 4 kB / 0.7602 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.649e-05/0.4517, allocations: 103.3 kB / 0.7603 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.465e-06/0.4517, allocations: 0 / 0.7603 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002967/0.452, allocations: 15.94 kB / 0.7603 GB, free: 0.7148 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0005552/0.4526, allocations: 0.7085 MB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.4528, allocations: 47.94 kB / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4528, allocations: 0 / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.4529, allocations: 27.92 kB / 0.7611 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.4532, allocations: 19.94 kB / 0.7611 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.4537, allocations: 126.4 kB / 0.7612 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.454, allocations: 0.6928 MB / 0.7619 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.4541, allocations: 7.781 kB / 0.7619 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.4542, allocations: 19.42 kB / 0.762 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.4542, allocations: 0 / 0.762 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.4787, allocations: 1.63 MB / 0.7635 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.4791, allocations: 154.3 kB / 0.7637 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.696, allocations: 0 / 0.7637 GB, free: 13.2 MB / 0.6511 GB