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/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.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 3.898/3.898, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.634e-05, allocations: 5.344 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2237, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2487/0.4725, allocations: 124.5 MB / 0.7563 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.4729, allocations: 71.95 kB / 0.7564 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006673/0.4796, allocations: 1.34 MB / 0.7577 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4796, allocations: 0 / 0.7577 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4797, allocations: 4 kB / 0.7577 GB, free: 3.797 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.0006626/0.4803, allocations: 354.5 kB / 0.758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4804, allocations: 8.031 kB / 0.758 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.389e-05/0.4805, allocations: 34.56 kB / 0.7581 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.4805, allocations: 7.906 kB / 0.7581 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4807, allocations: 171 kB / 0.7582 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.4807, allocations: 8 kB / 0.7582 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.4807, allocations: 0 / 0.7582 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.481, allocations: 81.56 kB / 0.7583 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.481, allocations: 4 kB / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.481, allocations: 0 / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.481, allocations: 0 / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.4812, allocations: 32 kB / 0.7584 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.4818, allocations: 292.7 kB / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.482, allocations: 66.5 kB / 0.7587 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.4821, allocations: 28.98 kB / 0.7587 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4821, allocations: 3.938 kB / 0.7587 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.4824, allocations: 93.25 kB / 0.7588 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.4824, allocations: 0 / 0.7588 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004162/0.4828, allocations: 129.4 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4829, allocations: 59.36 kB / 0.759 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.483, allocations: 105 kB / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.4831, allocations: 29.69 kB / 0.7591 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.4831, allocations: 88.14 kB / 0.7592 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.4832, allocations: 19.88 kB / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.4832, allocations: 0 / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4833, allocations: 318.8 kB / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.4834, allocations: 24 kB / 0.7596 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4836, allocations: 45.66 kB / 0.7596 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.4837, allocations: 23.98 kB / 0.7596 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4837, allocations: 0 / 0.7596 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006236/0.4843, allocations: 138.4 kB / 0.7598 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4843, allocations: 15.98 kB / 0.7598 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4844, allocations: 0 / 0.7598 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.4846, allocations: 32.84 kB / 0.7598 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4847, allocations: 11.92 kB / 0.7598 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.4865, allocations: 1.424 MB / 0.7612 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.4867, allocations: 19.92 kB / 0.7612 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.4867, allocations: 7.984 kB / 0.7612 GB, free: 15.8 MB / 0.6511 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.0001165/0.4868, allocations: 125 kB / 0.7614 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.4869, allocations: 0 / 0.7614 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.4869, allocations: 16.61 kB / 0.7614 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4869, allocations: 192 / 0.7614 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.4869, allocations: 0 / 0.7614 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.487, allocations: 3.938 kB / 0.7614 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.4878, allocations: 414.3 kB / 0.7618 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4878, allocations: 3.938 kB / 0.7618 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.4879, allocations: 11.92 kB / 0.7618 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4879, allocations: 0 / 0.7618 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.488, allocations: 0 / 0.7618 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.488, allocations: 8 kB / 0.7618 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.488, allocations: 0 / 0.7618 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.4884, allocations: 219.4 kB / 0.762 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.4885, allocations: 85.02 kB / 0.7621 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.4885, allocations: 4 kB / 0.7621 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.4887, allocations: 11.98 kB / 0.7621 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.4888, allocations: 7.984 kB / 0.7621 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4888, allocations: 4 kB / 0.7621 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.4889, allocations: 87.28 kB / 0.7622 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4889, allocations: 0 / 0.7622 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003625/0.4893, allocations: 19.98 kB / 0.7622 GB, free: 14.7 MB / 0.6511 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.0007487/0.49, allocations: 0.7612 MB / 0.763 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.4905, allocations: 182.8 kB / 0.7631 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4905, allocations: 0 / 0.7631 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.4907, allocations: 40 kB / 0.7632 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.491, allocations: 15.98 kB / 0.7632 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.4915, allocations: 146.8 kB / 0.7633 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.4919, allocations: 0.6887 MB / 0.764 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.246e-05/0.4919, allocations: 12.59 kB / 0.764 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.492, allocations: 15.44 kB / 0.764 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/0.492, allocations: 4 kB / 0.764 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.5163, allocations: 2.141 MB / 0.7661 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.5166, allocations: 204 kB / 0.7663 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.697, allocations: 7.938 kB / 0.7663 GB, free: 10.46 MB / 0.6511 GB