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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0106/0.01061, allocations: 221.6 kB / 15.17 MB, free: 5.996 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.001108/0.001108, allocations: 176.3 kB / 16.06 MB, free: 5.871 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.803/3.803, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.537/4.537, allocations: 472.3 MB / 0.9017 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004939, allocations: 16 kB / 1.008 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5751, allocations: 98.7 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001764/0.5769, allocations: 1.413 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006206/0.5775, allocations: 301.4 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.5777, allocations: 6.875 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.5777, allocations: 7.781 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.5778, allocations: 21.72 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.578, allocations: 48.45 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.5783, allocations: 150.1 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.5784, allocations: 35 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.5785, allocations: 37.05 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.5786, allocations: 47.03 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.5786, allocations: 5.375 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.989e-05/0.5786, allocations: 3.656 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.5787, allocations: 26.55 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.5787, allocations: 52.06 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.5788, allocations: 94.7 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.163e-06/0.5789, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.887e-06/0.5789, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.857e-06/0.5789, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 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.0006065/0.5795, allocations: 458.2 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.5795, allocations: 9.469 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.5796, allocations: 14.94 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.5798, allocations: 220.9 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.5799, allocations: 13.97 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.5799, allocations: 13.39 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.5803, allocations: 154.8 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5803, allocations: 6.562 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.5803, allocations: 6.625 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.694e-06/0.5803, allocations: 2.688 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.5806, allocations: 84.06 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.5816, allocations: 0.7449 MB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.5818, allocations: 54.81 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.5819, allocations: 40.25 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.582, allocations: 1.5 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.5823, allocations: 139.3 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 3.503e-06/0.5823, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006076/0.5829, allocations: 183.9 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.583, allocations: 136.3 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.5832, allocations: 201.1 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5832, allocations: 29.14 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.5833, allocations: 125.6 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.5833, allocations: 31 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-06/0.5834, allocations: 5.156 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.5834, allocations: 328.9 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.5836, allocations: 39.62 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.5838, allocations: 144.3 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.584, allocations: 57.56 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-06/0.584, allocations: 1.094 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004827/0.5845, allocations: 196.3 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5845, allocations: 6.406 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.556e-06/0.5846, allocations: 3.281 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5846, allocations: 5.531 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.5848, allocations: 29.89 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.5848, allocations: 13.78 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.585, allocations: 33.86 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.585, allocations: 7.688 kB / 1.11 GB, free: 209 MB / 0.7292 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.0001132/0.5851, allocations: 124.8 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.5852, allocations: 18.42 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.5852, allocations: 24.14 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5852, allocations: 2.219 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-06/0.5853, allocations: 1.406 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.478e-06/0.5853, allocations: 6.703 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009837/0.5863, allocations: 0.5335 MB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.606e-06/0.5863, allocations: 1.312 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.5865, allocations: 20.06 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.561e-06/0.5865, allocations: 3.594 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.5865, allocations: 5.953 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5866, allocations: 2.062 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-06/0.5866, allocations: 1.25 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.5872, allocations: 370.9 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.5873, allocations: 98.34 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.5873, allocations: 6.828 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.5876, allocations: 23.95 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.5877, allocations: 10.47 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5877, allocations: 5.875 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001335/0.5878, allocations: 144.4 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.532e-06/0.5878, allocations: 0 / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004672/0.5883, allocations: 28.28 kB / 1.111 GB, free: 208 MB / 0.7292 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.0001316/0.5885, allocations: 111.8 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.5889, allocations: 122 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5889, allocations: 6.844 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.5891, allocations: 52.98 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.5898, allocations: 60.66 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.5906, allocations: 400.8 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.5908, allocations: 0.7262 MB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.428e-05/0.5909, allocations: 17.56 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.591, allocations: 20.16 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.412e-06/0.591, allocations: 0.7188 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.005933/0.597, allocations: 1.721 MB / 1.114 GB, free: 206.8 MB / 0.7292 GB