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.0009606/0.0009606, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.003413/0.003413, allocations: 162.5 kB / 24.38 MB, free: 8.59 MB / 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.952/0.952, allocations: 177.1 MB / 204.8 MB, free: 5.055 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.863/1.863, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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.502e-06/1.502e-06, allocations: 0 / 0.7756 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.13e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002385/0.002406, allocations: 1.898 MB / 0.7774 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.003205, allocations: 0.5724 MB / 0.778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.003298, allocations: 7.938 kB / 0.778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.003426, allocations: 25.05 kB / 0.778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.003486, allocations: 29.66 kB / 0.778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.003684, allocations: 71.84 kB / 0.7781 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.003866, allocations: 175.4 kB / 0.7783 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003998, allocations: 50.36 kB / 0.7783 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004113, allocations: 75.81 kB / 0.7784 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.00418, allocations: 39.81 kB / 0.7784 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.004206, allocations: 11.12 kB / 0.7784 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.004227, allocations: 12 kB / 0.7785 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.00426, allocations: 27.91 kB / 0.7785 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.004304, allocations: 39.86 kB / 0.7785 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.004466, allocations: 95.56 kB / 0.7786 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.00447, allocations: 0 / 0.7786 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004471, allocations: 0 / 0.7786 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.004477, allocations: 4 kB / 0.7786 GB, free: 2.059 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.0004991/0.004976, allocations: 377.3 kB / 0.779 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.005013, allocations: 9.344 kB / 0.779 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.00506, allocations: 25.45 kB / 0.779 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.005288, allocations: 170.6 kB / 0.7792 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.005304, allocations: 5.156 kB / 0.7792 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.005335, allocations: 20.33 kB / 0.7792 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.005502, allocations: 136.5 kB / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005511, allocations: 1.094 kB / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.005523, allocations: 4.375 kB / 0.7793 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005531, allocations: 7.938 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.005572, allocations: 35.53 kB / 0.7794 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.006071, allocations: 0.5641 MB / 0.7799 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.006128, allocations: 31.03 kB / 0.7799 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.006151, allocations: 14.2 kB / 0.78 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.00617, allocations: 8 kB / 0.78 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.006284, allocations: 99.06 kB / 0.7801 GB, free: 456 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.454e-06/0.006287, allocations: 1.188 kB / 0.7801 GB, free: 456 kB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001874/0.006474, allocations: 86.03 kB / 0.7801 GB, free: 364 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.006545, allocations: 141.2 kB / 0.7803 GB, free: 192 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.00668, allocations: 180.7 kB / 0.7805 GB, free: 16 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.006698, allocations: 35.3 kB / 0.7805 GB, free: 15.96 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.006761, allocations: 123.9 kB / 0.7806 GB, free: 15.83 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.006788, allocations: 35.67 kB / 0.7806 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.006845, allocations: 53.56 kB / 0.7807 GB, free: 15.74 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.006935, allocations: 330.8 kB / 0.781 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.00696, allocations: 8.781 kB / 0.781 GB, free: 15.4 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.756e-05/0.007037, allocations: 116.3 kB / 0.7811 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.007183, allocations: 164.3 kB / 0.7813 GB, free: 15.03 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.007187, allocations: 4 kB / 0.7813 GB, free: 15.02 MB / 0.7449 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001807/0.007368, allocations: 140.7 kB / 0.7814 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.007382, allocations: 7.531 kB / 0.7814 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.007391, allocations: 7.938 kB / 0.7814 GB, free: 14.87 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.007405, allocations: 8 kB / 0.7814 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.007507, allocations: 33.23 kB / 0.7815 GB, free: 14.83 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.007514, allocations: 4 kB / 0.7815 GB, free: 14.83 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.007601, allocations: 28.12 kB / 0.7815 GB, free: 14.8 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.007611, allocations: 13.02 kB / 0.7815 GB, free: 14.79 MB / 0.7449 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 8.163e-05/0.007693, allocations: 130.9 kB / 0.7816 GB, free: 14.65 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.007717, allocations: 13.48 kB / 0.7817 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.007752, allocations: 25.41 kB / 0.7817 GB, free: 14.61 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.007755, allocations: 0 / 0.7817 GB, free: 14.61 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.007757, allocations: 0 / 0.7817 GB, free: 14.61 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007762, allocations: 13.33 kB / 0.7817 GB, free: 14.6 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.008131, allocations: 341.9 kB / 0.782 GB, free: 14.24 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008133, allocations: 0 / 0.782 GB, free: 14.24 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.008198, allocations: 20.98 kB / 0.782 GB, free: 14.22 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.008203, allocations: 7.938 kB / 0.782 GB, free: 14.21 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.008213, allocations: 0.7812 kB / 0.782 GB, free: 14.21 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008215, allocations: 0 / 0.782 GB, free: 14.21 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.008217, allocations: 7.938 kB / 0.7821 GB, free: 14.21 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.008406, allocations: 265.3 kB / 0.7823 GB, free: 13.93 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.008427, allocations: 20.38 kB / 0.7823 GB, free: 13.91 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.008447, allocations: 11.02 kB / 0.7823 GB, free: 13.9 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.00855, allocations: 8 kB / 0.7823 GB, free: 13.89 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.008589, allocations: 19.91 kB / 0.7824 GB, free: 13.87 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.008597, allocations: 4 kB / 0.7824 GB, free: 13.87 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.00864, allocations: 48.67 kB / 0.7824 GB, free: 13.82 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.00864, allocations: 0 / 0.7824 GB, free: 13.82 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002683/0.008908, allocations: 35.89 kB / 0.7824 GB, free: 13.78 MB / 0.7449 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 0.0001012/0.009009, allocations: 83.39 kB / 0.7825 GB, free: 13.7 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.009132, allocations: 76.62 kB / 0.7826 GB, free: 13.62 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.009138, allocations: 5.5 kB / 0.7826 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.009183, allocations: 28.78 kB / 0.7826 GB, free: 13.58 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.009544, allocations: 71.14 kB / 0.7827 GB, free: 13.52 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.009975, allocations: 320.8 kB / 0.783 GB, free: 13.17 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.01003, allocations: 71.98 kB / 0.7831 GB, free: 13.08 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 5.963e-05/0.01009, allocations: 23.62 kB / 0.7831 GB, free: 13.06 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.679e-05/0.01018, allocations: 87.3 kB / 0.7832 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of SimCode: time 5.81e-07/0.01018, allocations: 1.625 kB / 0.7832 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of Templates: time 0.004487/0.01467, allocations: 2.209 MB / 0.7853 GB, free: 10.9 MB / 0.7449 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: 4.953348368406296]