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.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.01513/0.01513, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001812/0.001812, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.165/2.165, allocations: 194.6 MB / 211.3 MB, free: 11.01 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.247/2.247, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004932, allocations: 16 kB / 0.5871 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.7021, allocations: 98.72 MB / 0.6835 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.9291, allocations: 125.4 MB / 0.806 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.9294, allocations: 63.97 kB / 0.806 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.9425, allocations: 3.378 MB / 0.8093 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9425, allocations: 0 / 0.8093 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.9426, allocations: 4 kB / 0.8093 GB, free: 13.31 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009147/0.9435, allocations: 463.4 kB / 0.8098 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.9436, allocations: 8.031 kB / 0.8098 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.9437, allocations: 46.55 kB / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.9437, allocations: 19.72 kB / 0.8098 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.9441, allocations: 230.7 kB / 0.8101 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.9441, allocations: 4 kB / 0.8101 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.9442, allocations: 12 kB / 0.8101 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.9447, allocations: 149.8 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.9447, allocations: 4 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.9448, allocations: 8 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.9448, allocations: 7.938 kB / 0.8102 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.9452, allocations: 83.81 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.9467, allocations: 0.7628 MB / 0.8111 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.947, allocations: 54.55 kB / 0.8111 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.9471, allocations: 3.938 kB / 0.8111 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.9475, allocations: 122.8 kB / 0.8112 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.096e-06/0.9475, allocations: 0 / 0.8112 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008682/0.9484, allocations: 181.5 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.9485, allocations: 144.4 kB / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.9488, allocations: 178.8 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.9488, allocations: 37.69 kB / 0.8117 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.9489, allocations: 120 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.949, allocations: 27.77 kB / 0.8119 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.949, allocations: 0 / 0.8119 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9492, allocations: 330.8 kB / 0.8122 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.9494, allocations: 39.97 kB / 0.8122 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.9497, allocations: 127.9 kB / 0.8124 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.95, allocations: 63.91 kB / 0.8124 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.95, allocations: 0 / 0.8124 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006542/0.9506, allocations: 201.2 kB / 0.8126 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9507, allocations: 4 kB / 0.8126 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9507, allocations: 4 kB / 0.8126 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.9507, allocations: 4 kB / 0.8126 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.951, allocations: 36.17 kB / 0.8127 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.951, allocations: 4.188 kB / 0.8127 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.9512, allocations: 35.88 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.9513, allocations: 4 kB / 0.8127 GB, free: 9.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001658/0.9514, allocations: 141.7 kB / 0.8128 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.9515, allocations: 15.81 kB / 0.8129 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.9516, allocations: 21.39 kB / 0.8129 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.9516, allocations: 4 kB / 0.8129 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9516, allocations: 4 kB / 0.8129 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.9516, allocations: 0 / 0.8129 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.9529, allocations: 0.5327 MB / 0.8134 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.9529, allocations: 0 / 0.8134 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.9532, allocations: 19.98 kB / 0.8134 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.9532, allocations: 288 / 0.8134 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.9533, allocations: 8 kB / 0.8134 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.9533, allocations: 3.953 kB / 0.8134 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9533, allocations: 0 / 0.8134 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000885/0.9542, allocations: 422.5 kB / 0.8138 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.9543, allocations: 92.95 kB / 0.8139 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.9543, allocations: 4 kB / 0.8139 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.9546, allocations: 19.98 kB / 0.8139 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.9547, allocations: 11.98 kB / 0.814 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.9547, allocations: 4 kB / 0.814 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002031/0.9549, allocations: 140.6 kB / 0.8141 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9549, allocations: 4 kB / 0.8141 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004418/0.9554, allocations: 24 kB / 0.8141 GB, free: 7.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001352/0.9568, allocations: 1.171 MB / 0.8153 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.9573, allocations: 115.9 kB / 0.8154 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9574, allocations: 4 kB / 0.8154 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.9576, allocations: 52.72 kB / 0.8154 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.9583, allocations: 66.14 kB / 0.8155 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.9618, allocations: 3.058 MB / 0.8185 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.9621, allocations: 0.7205 MB / 0.8192 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.9623, allocations: 25.48 kB / 0.8192 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.9624, allocations: 51.41 kB / 0.8193 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.9624, allocations: 0 / 0.8193 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.9872, allocations: 3.504 MB / 0.8227 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.9876, allocations: 206.1 kB / 0.8229 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.501, allocations: 0 / 0.8229 GB, free: 14.88 MB / 0.6511 GB