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.004192/0.004195, allocations: 230.8 kB / 15.82 MB, free: 6.293 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.001099/0.001099, allocations: 171.5 kB / 16.7 MB, free: 5.453 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.821/3.821, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.097/4.097, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001034, allocations: 19.98 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1807, allocations: 98.73 MB / 1.105 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7887/0.9694, allocations: 125.4 MB / 1.227 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.9697, allocations: 72.72 kB / 1.227 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01251/0.9822, allocations: 3.376 MB / 1.231 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9823, allocations: 0 / 1.231 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.9823, allocations: 4 kB / 1.231 GB, free: 25.86 MB / 0.6198 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.000804/0.9831, allocations: 463.2 kB / 1.231 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.9832, allocations: 8.031 kB / 1.231 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.9832, allocations: 18.09 kB / 1.231 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.9835, allocations: 225.1 kB / 1.231 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.9835, allocations: 13.19 kB / 1.231 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.9836, allocations: 14.22 kB / 1.231 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.984, allocations: 149.8 kB / 1.231 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.984, allocations: 6.531 kB / 1.231 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.984, allocations: 7.562 kB / 1.231 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.9841, allocations: 4 kB / 1.231 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.9844, allocations: 83.94 kB / 1.231 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.9858, allocations: 0.761 MB / 1.232 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.986, allocations: 54.91 kB / 1.232 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.9862, allocations: 38.72 kB / 1.232 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.9862, allocations: 8.641 kB / 1.232 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.9866, allocations: 121.9 kB / 1.232 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.9866, allocations: 0 / 1.232 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0007085/0.9873, allocations: 181.1 kB / 1.233 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.9874, allocations: 140.6 kB / 1.233 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.9876, allocations: 192.3 kB / 1.233 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.9877, allocations: 30.27 kB / 1.233 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.9878, allocations: 127.2 kB / 1.233 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.9878, allocations: 29.5 kB / 1.233 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.9878, allocations: 6.312 kB / 1.233 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0005927/0.9884, allocations: 329.9 kB / 1.233 GB, free: 39.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.9886, allocations: 37.59 kB / 1.233 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.9889, allocations: 130.8 kB / 1.234 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.9891, allocations: 52.3 kB / 1.234 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9891, allocations: 4.609 kB / 1.234 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005461/0.9897, allocations: 195.2 kB / 1.234 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9897, allocations: 8.25 kB / 1.234 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.9897, allocations: 4 kB / 1.234 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9897, allocations: 7.547 kB / 1.234 GB, free: 38.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.99, allocations: 40.56 kB / 1.234 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.99, allocations: 7.953 kB / 1.234 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.9902, allocations: 28.3 kB / 1.234 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.9902, allocations: 7 kB / 1.234 GB, free: 38.72 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.0001374/0.9904, allocations: 141.2 kB / 1.234 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.9904, allocations: 15.81 kB / 1.234 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.9905, allocations: 22.59 kB / 1.234 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.9905, allocations: 4.75 kB / 1.234 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9905, allocations: 0 / 1.234 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.9905, allocations: 5.266 kB / 1.234 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.9917, allocations: 0.5322 MB / 1.235 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9917, allocations: 0.5156 kB / 1.235 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.9919, allocations: 20.41 kB / 1.235 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.9919, allocations: 0 / 1.235 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.9919, allocations: 9.375 kB / 1.235 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.992, allocations: 6.281 kB / 1.235 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.992, allocations: 0 / 1.235 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.9927, allocations: 377.7 kB / 1.235 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.9928, allocations: 94.42 kB / 1.235 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.9928, allocations: 8.234 kB / 1.235 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.9931, allocations: 21.92 kB / 1.235 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.9932, allocations: 19.53 kB / 1.235 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.9932, allocations: 4.609 kB / 1.235 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001555/0.9934, allocations: 145.8 kB / 1.235 GB, free: 37.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9934, allocations: 0 / 1.235 GB, free: 37.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004231/0.9938, allocations: 27.5 kB / 1.235 GB, free: 37.46 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.0001561/0.994, allocations: 110.7 kB / 1.235 GB, free: 37.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.9945, allocations: 112.4 kB / 1.236 GB, free: 37.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.9945, allocations: 5.844 kB / 1.236 GB, free: 37.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.9947, allocations: 56.86 kB / 1.236 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.9955, allocations: 58.69 kB / 1.236 GB, free: 37.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.9964, allocations: 407.3 kB / 1.236 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.9967, allocations: 0.729 MB / 1.237 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.897e-05/0.9968, allocations: 20.83 kB / 1.237 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.9968, allocations: 18.19 kB / 1.237 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/0.9969, allocations: 0 / 1.237 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.006089/1.003, allocations: 1.723 MB / 1.238 GB, free: 35.22 MB / 0.6355 GB