Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008578/0.0008578, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9304/0.9304, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.956/1.956, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7753 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.598e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002282/0.002298, allocations: 0.9231 MB / 0.7762 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.004075, allocations: 1.216 MB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.004148, allocations: 2.438 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.588e-05/0.004194, allocations: 11.86 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.004317, allocations: 22.11 kB / 0.7774 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.004848, allocations: 147.5 kB / 0.7775 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.00509, allocations: 173 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.005211, allocations: 35.12 kB / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.00538, allocations: 95.84 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.0055, allocations: 49.14 kB / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.005531, allocations: 12 kB / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.005618, allocations: 27.98 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.005645, allocations: 23.84 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.005705, allocations: 44.41 kB / 0.778 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.005902, allocations: 124.3 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005904, allocations: 0 / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005905, allocations: 1.844 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.005909, allocations: 3.938 kB / 0.7781 GB, free: 2.398 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005613/0.00647, allocations: 358.2 kB / 0.7784 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.006508, allocations: 12.09 kB / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.006554, allocations: 16.92 kB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.006772, allocations: 146.6 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.00679, allocations: 8.375 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.006825, allocations: 16.36 kB / 0.7786 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.007001, allocations: 85.02 kB / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.007012, allocations: 192 / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.007024, allocations: 11.53 kB / 0.7787 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.007033, allocations: 4.375 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.007069, allocations: 15.94 kB / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.007594, allocations: 228 kB / 0.779 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.00765, allocations: 26.52 kB / 0.779 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.007675, allocations: 12.84 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.007699, allocations: 7.922 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.007824, allocations: 88.66 kB / 0.7791 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.007826, allocations: 0 / 0.7791 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001725/0.007998, allocations: 74.31 kB / 0.7792 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.008035, allocations: 59.34 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.008144, allocations: 145.8 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.008167, allocations: 29.7 kB / 0.7794 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.008227, allocations: 108.1 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.008252, allocations: 32.77 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.008322, allocations: 45.67 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.008418, allocations: 323.3 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.008489, allocations: 49.69 kB / 0.7799 GB, free: 392 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.008602, allocations: 139.8 kB / 0.7801 GB, free: 208 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.008774, allocations: 169.9 kB / 0.7802 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.008779, allocations: 3.938 kB / 0.7802 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002532/0.009032, allocations: 206.7 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.009072, allocations: 43.31 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.00908, allocations: 4 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.009099, allocations: 4 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.009197, allocations: 23.98 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.009206, allocations: 7.938 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.009354, allocations: 37.17 kB / 0.7805 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.009374, allocations: 8 kB / 0.7805 GB, free: 15.64 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/0.009471, allocations: 127.4 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.009492, allocations: 11.98 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.009537, allocations: 16.78 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.009539, allocations: 1.5 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.009542, allocations: 0 / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009546, allocations: 3.984 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.009857, allocations: 238.7 kB / 0.7809 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.009859, allocations: 1.031 kB / 0.7809 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.009924, allocations: 16 kB / 0.7809 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.009927, allocations: 1.094 kB / 0.7809 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.009937, allocations: 3.984 kB / 0.7809 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.009938, allocations: 0 / 0.7809 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.00994, allocations: 1.219 kB / 0.7809 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.0101, allocations: 179.3 kB / 0.7811 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.01011, allocations: 11.91 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.01012, allocations: 9.016 kB / 0.7811 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.01016, allocations: 4 kB / 0.7811 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.01019, allocations: 7.984 kB / 0.7811 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01019, allocations: 5.312 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.333e-05/0.01022, allocations: 34.7 kB / 0.7812 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01022, allocations: 0 / 0.7812 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001629/0.01038, allocations: 28.97 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.01048, allocations: 96.95 kB / 0.7813 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01065, allocations: 171.3 kB / 0.7815 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.01066, allocations: 0 / 0.7815 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.01069, allocations: 25.83 kB / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.01082, allocations: 29.38 kB / 0.7815 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.01117, allocations: 258.2 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.93e-05/0.0112, allocations: 67.84 kB / 0.7818 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.01124, allocations: 13.83 kB / 0.7818 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.01132, allocations: 75.36 kB / 0.7819 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01132, allocations: 0 / 0.7819 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.003383/0.0147, allocations: 1.866 MB / 0.7837 GB, free: 12.38 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.051660333760083]