Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadModel(Buildings): time 4.043/4.043, allocations: 432.7 MB / 445.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.276e-05, allocations: 5.281 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 98.72 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.28/0.4955, allocations: 124.5 MB / 0.7563 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4958, allocations: 67.97 kB / 0.7564 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005624/0.5014, allocations: 1.356 MB / 0.7577 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5015, allocations: 0 / 0.7577 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.295e-06/0.5015, allocations: 3.938 kB / 0.7577 GB, free: 3.777 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.0005435/0.502, allocations: 346.5 kB / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5021, allocations: 12.03 kB / 0.758 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.5022, allocations: 3.906 kB / 0.758 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.5023, allocations: 175 kB / 0.7582 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.5024, allocations: 4 kB / 0.7582 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.5024, allocations: 0 / 0.7582 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.5026, allocations: 73.64 kB / 0.7583 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.353e-06/0.5026, allocations: 0 / 0.7583 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.5027, allocations: 3.984 kB / 0.7583 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.202e-06/0.5027, allocations: 0 / 0.7583 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.5028, allocations: 39.92 kB / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.5034, allocations: 292.7 kB / 0.7586 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.5036, allocations: 58.58 kB / 0.7587 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.5037, allocations: 24.98 kB / 0.7587 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.5037, allocations: 0 / 0.7587 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.504, allocations: 103.2 kB / 0.7588 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.567e-06/0.504, allocations: 0 / 0.7588 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003651/0.5044, allocations: 121.6 kB / 0.7589 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5044, allocations: 59.36 kB / 0.759 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5046, allocations: 108.9 kB / 0.7591 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.5046, allocations: 25.7 kB / 0.7591 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.5047, allocations: 94.02 kB / 0.7592 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.5047, allocations: 23.73 kB / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-06/0.5047, allocations: 0 / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5049, allocations: 314.8 kB / 0.7595 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.505, allocations: 28 kB / 0.7595 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.5051, allocations: 41.7 kB / 0.7596 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.631e-05/0.5052, allocations: 27.97 kB / 0.7596 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.534e-06/0.5052, allocations: 4 kB / 0.7596 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005094/0.5057, allocations: 146.4 kB / 0.7597 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5058, allocations: 4 kB / 0.7597 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.991e-06/0.5058, allocations: 3.953 kB / 0.7597 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.506, allocations: 32.84 kB / 0.7598 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.5061, allocations: 4 kB / 0.7598 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.5079, allocations: 1.424 MB / 0.7612 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.508, allocations: 20.11 kB / 0.7612 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.508, allocations: 8 kB / 0.7612 GB, free: 15.84 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.0001195/0.5082, allocations: 123.1 kB / 0.7613 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.5082, allocations: 3.906 kB / 0.7613 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.5083, allocations: 12.62 kB / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-06/0.5083, allocations: 0 / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-06/0.5083, allocations: 0 / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5083, allocations: 0 / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008203/0.5091, allocations: 422.2 kB / 0.7617 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.225e-06/0.5091, allocations: 0 / 0.7617 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.5092, allocations: 7.938 kB / 0.7617 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-06/0.5092, allocations: 0 / 0.7617 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.5093, allocations: 4 kB / 0.7617 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.842e-06/0.5093, allocations: 3.984 kB / 0.7618 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-06/0.5093, allocations: 0 / 0.7618 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.5097, allocations: 223.5 kB / 0.762 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.5097, allocations: 85.02 kB / 0.762 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.5098, allocations: 0 / 0.762 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.51, allocations: 11.98 kB / 0.7621 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.51, allocations: 7.984 kB / 0.7621 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.5101, allocations: 7.984 kB / 0.7621 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.5102, allocations: 91.22 kB / 0.7622 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.74e-07/0.5102, allocations: 8 kB / 0.7622 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003859/0.5106, allocations: 12 kB / 0.7622 GB, free: 14.73 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.0001621/0.5107, allocations: 109.5 kB / 0.7623 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.5112, allocations: 178.6 kB / 0.7625 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.341e-06/0.5112, allocations: 0 / 0.7625 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.5113, allocations: 40 kB / 0.7625 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.5116, allocations: 20 kB / 0.7625 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.512, allocations: 113.1 kB / 0.7626 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.5124, allocations: 0.6926 MB / 0.7633 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.5124, allocations: 0.6719 kB / 0.7633 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.5125, allocations: 15.38 kB / 0.7633 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.531e-06/0.5125, allocations: 0 / 0.7633 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.007007/0.5195, allocations: 1.193 MB / 0.7645 GB, free: 12.32 MB / 0.6511 GB