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.01222/0.01222, allocations: 221.9 kB / 15.17 MB, free: 5.922 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.001173/0.001173, allocations: 179.3 kB / 16.06 MB, free: 5.828 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 3.626/3.626, allocations: 389.1 MB / 405.9 MB, free: 67.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.27/4.27, allocations: 472.3 MB / 0.9018 GB, free: 13.26 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 12 kB / 1.008 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6547, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001908/0.6567, allocations: 1.405 MB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.6575, allocations: 296.7 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.6576, allocations: 7.938 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.6576, allocations: 11.02 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.6578, allocations: 19.8 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.658, allocations: 52.91 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.6583, allocations: 139.5 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.6584, allocations: 36.73 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.6585, allocations: 43.77 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.6586, allocations: 43.72 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.6586, allocations: 4 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.323e-05/0.6586, allocations: 11.94 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.6587, allocations: 15.92 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.6587, allocations: 49.58 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.6589, allocations: 97.31 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6589, allocations: 4.125 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6589, allocations: 0 / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.6589, allocations: 0 / 1.106 GB, free: 181.5 MB / 0.6823 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.0007292/0.6596, allocations: 457.6 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6597, allocations: 12.03 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.6598, allocations: 46.55 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.6598, allocations: 23.67 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.6601, allocations: 218.7 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.6601, allocations: 4 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.6601, allocations: 16.94 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.6605, allocations: 153.5 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6605, allocations: 4.938 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.6606, allocations: 4 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6606, allocations: 4 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.661, allocations: 82.94 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.662, allocations: 0.7456 MB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.6623, allocations: 55.16 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.6625, allocations: 43.27 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.6625, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.6628, allocations: 132.7 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/0.6629, allocations: 0 / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006885/0.6636, allocations: 182.9 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.6636, allocations: 140 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.6638, allocations: 202.2 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.6639, allocations: 29.7 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.664, allocations: 120 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.664, allocations: 32.83 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.664, allocations: 4 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.6641, allocations: 334.8 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.6643, allocations: 43.31 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.6645, allocations: 131.2 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.6648, allocations: 51.25 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6648, allocations: 5.688 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005524/0.6653, allocations: 192.9 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6654, allocations: 8 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6654, allocations: 5.125 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.6654, allocations: 4 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.6656, allocations: 35.5 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6657, allocations: 4.938 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.6659, allocations: 32.83 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.6659, allocations: 10.11 kB / 1.11 GB, free: 177.7 MB / 0.6823 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,sampleTrigger.y,$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.0001274/0.6661, allocations: 133.9 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.6661, allocations: 20.69 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.6662, allocations: 21.41 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6662, allocations: 2.094 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6662, allocations: 11.94 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6662, allocations: 0 / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.6673, allocations: 0.5292 MB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6673, allocations: 1.031 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.6676, allocations: 19.36 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.6676, allocations: 4 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.6676, allocations: 3.953 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.6676, allocations: 4.812 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6676, allocations: 0 / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.6683, allocations: 379.5 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.6684, allocations: 88.92 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.6684, allocations: 4.031 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.6687, allocations: 24.94 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.6688, allocations: 15.73 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.6688, allocations: 4.562 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001269/0.669, allocations: 140.6 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.669, allocations: 0 / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004281/0.6694, allocations: 27.91 kB / 1.111 GB, free: 176.2 MB / 0.6823 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,sampleTrigger.y,$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.000915/0.6703, allocations: 0.9234 MB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.6708, allocations: 115.5 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6708, allocations: 0 / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.6711, allocations: 55.06 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008169/0.6719, allocations: 68.77 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.6743, allocations: 1.1 MB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.6745, allocations: 0.7392 MB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.6746, allocations: 16.27 kB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.6748, allocations: 57.27 kB / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.6748, allocations: 0 / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.7028, allocations: 3.525 MB / 1.118 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.7031, allocations: 212.3 kB / 1.118 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.148, allocations: 5.281 kB / 1.118 GB, free: 169.7 MB / 0.6823 GB