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.TriggeredTrapezoid.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.TriggeredTrapezoid,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.273/4.273, allocations: 433.2 MB / 440.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.806e-05, allocations: 6.969 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2171, allocations: 98.73 MB / 0.6289 GB, free: 9 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.4526, allocations: 123.8 MB / 0.7498 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4529, allocations: 71.95 kB / 0.7499 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006163/0.4591, allocations: 1.336 MB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4591, allocations: 0 / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4592, allocations: 0 / 0.7512 GB, free: 11.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006758/0.4599, allocations: 362.5 kB / 0.7516 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4599, allocations: 8.031 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.46, allocations: 19.86 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4602, allocations: 171 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.4602, allocations: 0 / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.4602, allocations: 4 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/0.4604, allocations: 28 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4606, allocations: 69.64 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4606, allocations: 0 / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.4606, allocations: 4 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4606, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.4612, allocations: 269.3 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.4614, allocations: 54.52 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4615, allocations: 28.98 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.4616, allocations: 3.984 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.4618, allocations: 99.23 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/0.4618, allocations: 4 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003995/0.4622, allocations: 117.5 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.4623, allocations: 55.48 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4624, allocations: 108.9 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.4625, allocations: 25.7 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.4625, allocations: 88.14 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.4626, allocations: 19.75 kB / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.4626, allocations: 0 / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4627, allocations: 322.8 kB / 0.753 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.4628, allocations: 20 kB / 0.753 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.4629, allocations: 37.72 kB / 0.753 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.506e-05/0.463, allocations: 27.92 kB / 0.7531 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.463, allocations: 0 / 0.7531 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005793/0.4636, allocations: 138.4 kB / 0.7532 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4637, allocations: 4 kB / 0.7532 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4637, allocations: 0 / 0.7532 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.4639, allocations: 36.8 kB / 0.7532 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.464, allocations: 4 kB / 0.7533 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.4657, allocations: 1.376 MB / 0.7546 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4659, allocations: 16.72 kB / 0.7546 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4659, allocations: 0 / 0.7546 GB, free: 7.781 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.466, allocations: 110.8 kB / 0.7547 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003041/0.4663, allocations: 129.4 kB / 0.7548 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.4664, allocations: 7.906 kB / 0.7548 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.4664, allocations: 8.625 kB / 0.7549 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4664, allocations: 96 / 0.7549 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4665, allocations: 7.984 kB / 0.7549 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4665, allocations: 0 / 0.7549 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007774/0.4673, allocations: 386.9 kB / 0.7552 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4673, allocations: 0 / 0.7552 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.4674, allocations: 19.86 kB / 0.7553 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4674, allocations: 0 / 0.7553 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4674, allocations: 4 kB / 0.7553 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4674, allocations: 0 / 0.7553 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4674, allocations: 0 / 0.7553 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.4678, allocations: 215.3 kB / 0.7555 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.4679, allocations: 89.02 kB / 0.7555 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.4679, allocations: 0 / 0.7555 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4681, allocations: 11.98 kB / 0.7556 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.4682, allocations: 7.984 kB / 0.7556 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.4682, allocations: 4 kB / 0.7556 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.4683, allocations: 87.28 kB / 0.7557 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4683, allocations: 0 / 0.7557 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003868/0.4687, allocations: 19.98 kB / 0.7557 GB, free: 6.602 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007079/0.4694, allocations: 0.745 MB / 0.7564 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.4699, allocations: 177.6 kB / 0.7566 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4699, allocations: 4 kB / 0.7566 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.47, allocations: 32 kB / 0.7566 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.4703, allocations: 12 kB / 0.7566 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.4709, allocations: 145.4 kB / 0.7568 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4712, allocations: 0.6885 MB / 0.7574 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.327e-05/0.4713, allocations: 12.72 kB / 0.7574 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.4714, allocations: 15.44 kB / 0.7575 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of SimCode: time 3.075e-06/0.4714, allocations: 0 / 0.7575 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.5056, allocations: 1.723 MB / 0.7591 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/0.506, allocations: 156.4 kB / 0.7593 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.838, allocations: 8.031 kB / 0.7593 GB, free: 2.777 MB / 0.6355 GB