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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01115/0.01115, allocations: 110.4 kB / 15.06 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001264/0.001264, allocations: 183.3 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.937/1.937, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.392/2.392, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006794/0.0006795, allocations: 12 kB / 0.5871 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6757, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2589/0.9346, allocations: 124.6 MB / 0.8051 GB, free: 1.711 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.935, allocations: 71.95 kB / 0.8052 GB, free: 1.641 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 0.006415/0.9414, allocations: 1.353 MB / 0.8065 GB, free: 292 kB / 0.6199 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9415, allocations: 4 kB / 0.8065 GB, free: 288 kB / 0.6199 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.9415, allocations: 4 kB / 0.8065 GB, free: 284 kB / 0.6199 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.0007022/0.9422, allocations: 359.3 kB / 0.8069 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9423, allocations: 12.03 kB / 0.8069 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.9423, allocations: 34.5 kB / 0.8069 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.9424, allocations: 7.906 kB / 0.8069 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9425, allocations: 175 kB / 0.8071 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.9426, allocations: 3.938 kB / 0.8071 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.9426, allocations: 4 kB / 0.8071 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.9429, allocations: 77.58 kB / 0.8072 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9429, allocations: 0 / 0.8072 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.943, allocations: 0 / 0.8072 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.943, allocations: 4 kB / 0.8072 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.9433, allocations: 43.97 kB / 0.8072 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.9439, allocations: 296.7 kB / 0.8075 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.9442, allocations: 70.48 kB / 0.8075 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.9442, allocations: 7.938 kB / 0.8076 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.9446, allocations: 99.47 kB / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.9446, allocations: 0 / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0008667/0.9455, allocations: 177.5 kB / 0.8078 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.9456, allocations: 55.36 kB / 0.8079 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.9457, allocations: 113 kB / 0.808 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.9457, allocations: 29.7 kB / 0.808 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.9458, allocations: 92.05 kB / 0.8081 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.9459, allocations: 15.75 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.9459, allocations: 4 kB / 0.8081 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.946, allocations: 318.8 kB / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.9462, allocations: 23.98 kB / 0.8084 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.9464, allocations: 52.19 kB / 0.8085 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.9466, allocations: 27.98 kB / 0.8085 GB, free: 14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9466, allocations: 0 / 0.8085 GB, free: 14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004252/0.947, allocations: 101.5 kB / 0.8086 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.9471, allocations: 8.453 kB / 0.8086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.9471, allocations: 4 kB / 0.8086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9471, allocations: 4.031 kB / 0.8086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.9473, allocations: 19.94 kB / 0.8086 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.9473, allocations: 0 / 0.8086 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.9475, allocations: 19.88 kB / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.9475, allocations: 4 kB / 0.8087 GB, free: 13.83 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001252/0.9476, allocations: 125.8 kB / 0.8088 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.9477, allocations: 7.906 kB / 0.8088 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.9477, allocations: 12.38 kB / 0.8088 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.9477, allocations: 0 / 0.8088 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9477, allocations: 4 kB / 0.8088 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9478, allocations: 0 / 0.8088 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.9489, allocations: 426.5 kB / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9489, allocations: 4 kB / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.949, allocations: 7.938 kB / 0.8092 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.949, allocations: 0 / 0.8092 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.949, allocations: 11.98 kB / 0.8092 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.949, allocations: 0 / 0.8092 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9491, allocations: 3.953 kB / 0.8092 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.9496, allocations: 235.3 kB / 0.8095 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.9497, allocations: 85.05 kB / 0.8096 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.9497, allocations: 0 / 0.8096 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.9499, allocations: 11.98 kB / 0.8096 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.95, allocations: 11.94 kB / 0.8096 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.95, allocations: 4 kB / 0.8096 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.9501, allocations: 91.27 kB / 0.8097 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9501, allocations: 0 / 0.8097 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003167/0.9504, allocations: 20 kB / 0.8097 GB, free: 12.69 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) * Number of clocked states: 0 () * 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.000931/0.9514, allocations: 0.771 MB / 0.8104 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.9518, allocations: 83.89 kB / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9518, allocations: 0 / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.9521, allocations: 47.92 kB / 0.8106 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.9524, allocations: 15.98 kB / 0.8106 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.9539, allocations: 0.6939 MB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.9542, allocations: 0.6926 MB / 0.8119 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.231e-05/0.9543, allocations: 4.672 kB / 0.8119 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.9544, allocations: 19.42 kB / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.9544, allocations: 0 / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.9806, allocations: 1.888 MB / 0.8138 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/0.9811, allocations: 194.4 kB / 0.814 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.434, allocations: 0 / 0.814 GB, free: 8.254 MB / 0.6355 GB