Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.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.001064/0.001064, allocations: 80.92 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.001905/0.001905, allocations: 165 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.9677/0.9677, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.958/1.958, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.7752 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.055e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002233/0.002254, allocations: 1.889 MB / 0.7771 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.003137, allocations: 0.5726 MB / 0.7776 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.821e-05/0.003225, allocations: 3.938 kB / 0.7776 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.003351, allocations: 25.27 kB / 0.7776 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.003418, allocations: 36.91 kB / 0.7777 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.003598, allocations: 63.86 kB / 0.7777 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.003766, allocations: 183.4 kB / 0.7779 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.003874, allocations: 38.39 kB / 0.7779 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.00397, allocations: 75.8 kB / 0.778 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.004025, allocations: 43.81 kB / 0.7781 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.004047, allocations: 12 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.004061, allocations: 8 kB / 0.7781 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.004086, allocations: 35.83 kB / 0.7781 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.004122, allocations: 31.92 kB / 0.7781 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.004246, allocations: 104.2 kB / 0.7782 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004248, allocations: 0.6875 kB / 0.7782 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004249, allocations: 0 / 0.7782 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004253, allocations: 0.5312 kB / 0.7782 GB, free: 2.109 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.0003943/0.004647, allocations: 376.9 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004679, allocations: 14.66 kB / 0.7786 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.004712, allocations: 20.92 kB / 0.7786 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.004885, allocations: 162.2 kB / 0.7788 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.004896, allocations: 13.78 kB / 0.7788 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.004919, allocations: 20.31 kB / 0.7788 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.005066, allocations: 139.9 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005075, allocations: 192 / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.005086, allocations: 8.906 kB / 0.779 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005092, allocations: 4.75 kB / 0.779 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.005135, allocations: 30.67 kB / 0.779 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.005601, allocations: 0.5631 MB / 0.7796 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.00565, allocations: 27.02 kB / 0.7796 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.00567, allocations: 17.56 kB / 0.7796 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.005687, allocations: 4 kB / 0.7796 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.005794, allocations: 108.6 kB / 0.7797 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.005795, allocations: 0 / 0.7797 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.000146/0.005941, allocations: 86.06 kB / 0.7798 GB, free: 412 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.005995, allocations: 132.5 kB / 0.7799 GB, free: 248 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.006094, allocations: 189.7 kB / 0.7801 GB, free: 48 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.006108, allocations: 37.69 kB / 0.7801 GB, free: 4 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.00617, allocations: 115.9 kB / 0.7802 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.006192, allocations: 41.08 kB / 0.7803 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.006232, allocations: 53.55 kB / 0.7803 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.006305, allocations: 326.8 kB / 0.7806 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.006326, allocations: 19.98 kB / 0.7807 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.006386, allocations: 111.7 kB / 0.7808 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.006494, allocations: 156.6 kB / 0.7809 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.006497, allocations: 4.25 kB / 0.7809 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001299/0.006627, allocations: 140.2 kB / 0.7811 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.00664, allocations: 11.19 kB / 0.7811 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.006646, allocations: 8 kB / 0.7811 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.006662, allocations: 8 kB / 0.7811 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.006743, allocations: 31.92 kB / 0.7811 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.006748, allocations: 7.984 kB / 0.7811 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.00681, allocations: 23.89 kB / 0.7811 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.006818, allocations: 8 kB / 0.7811 GB, free: 14.84 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 7.194e-05/0.00689, allocations: 126.8 kB / 0.7813 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.006909, allocations: 19.02 kB / 0.7813 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.006946, allocations: 25.39 kB / 0.7813 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006948, allocations: 0 / 0.7813 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006952, allocations: 4 kB / 0.7813 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006955, allocations: 3.938 kB / 0.7813 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.007248, allocations: 345.9 kB / 0.7816 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.007251, allocations: 4 kB / 0.7817 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.007299, allocations: 17.42 kB / 0.7817 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.007302, allocations: 4 kB / 0.7817 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.007312, allocations: 4 kB / 0.7817 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.007315, allocations: 4 kB / 0.7817 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.007318, allocations: 9.047 kB / 0.7817 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.007502, allocations: 276.6 kB / 0.782 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.00752, allocations: 20.81 kB / 0.782 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.007535, allocations: 8 kB / 0.782 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.007604, allocations: 9.047 kB / 0.782 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.007638, allocations: 15.92 kB / 0.782 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.007644, allocations: 4 kB / 0.782 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.007679, allocations: 49.83 kB / 0.7821 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007679, allocations: 0 / 0.7821 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001973/0.007876, allocations: 35.94 kB / 0.7821 GB, free: 13.82 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.934e-05/0.007945, allocations: 81.58 kB / 0.7822 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.008058, allocations: 81 kB / 0.7822 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.008064, allocations: 4 kB / 0.7822 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.0081, allocations: 30.28 kB / 0.7823 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.008379, allocations: 71.66 kB / 0.7823 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.008794, allocations: 312.8 kB / 0.7826 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.518e-05/0.008839, allocations: 77.05 kB / 0.7827 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.008891, allocations: 15.98 kB / 0.7827 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.008978, allocations: 91.28 kB / 0.7828 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.008978, allocations: 0 / 0.7828 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.003944/0.01292, allocations: 2.208 MB / 0.785 GB, free: 10.95 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.030797944404185]