Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Average.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.0009206/0.0009206, 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.004569/0.004569, allocations: 162 kB / 24.38 MB, free: 8.586 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.9764/0.9764, allocations: 177.1 MB / 204.8 MB, free: 5.062 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.971/1.971, allocations: 389.6 MB / 0.6356 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 177] 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7756 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.125e-05, allocations: 9.172 kB / 0.7756 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002153/0.002175, allocations: 1.631 MB / 0.7772 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002827/0.002457, allocations: 124.7 kB / 0.7773 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.002506, allocations: 4 kB / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.002626, allocations: 7.938 kB / 0.7773 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.593e-05/0.002652, allocations: 13.92 kB / 0.7773 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.002851, allocations: 23.97 kB / 0.7773 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.002938, allocations: 54.03 kB / 0.7774 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.003025, allocations: 27.97 kB / 0.7774 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.003089, allocations: 29.94 kB / 0.7774 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.003145, allocations: 23.11 kB / 0.7775 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.003161, allocations: 4 kB / 0.7775 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.00324, allocations: 15.94 kB / 0.7775 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.003277, allocations: 21.92 kB / 0.7775 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.003301, allocations: 23.86 kB / 0.7775 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.003413, allocations: 51.81 kB / 0.7776 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003415, allocations: 0 / 0.7776 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003416, allocations: 0.75 kB / 0.7776 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.00342, allocations: 4 kB / 0.7776 GB, free: 3.121 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002861/0.003706, allocations: 262.5 kB / 0.7778 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.003738, allocations: 13.33 kB / 0.7778 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.003763, allocations: 8.938 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.003872, allocations: 124.4 kB / 0.778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.003881, allocations: 4.375 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.003891, allocations: 4.375 kB / 0.778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.004014, allocations: 81.64 kB / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.00402, allocations: 192 / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.004028, allocations: 4.359 kB / 0.7781 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.004033, allocations: 384 / 0.7781 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.004056, allocations: 15.34 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.004302, allocations: 193.8 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.412e-05/0.004357, allocations: 26.56 kB / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.004372, allocations: 8.859 kB / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.004398, allocations: 0 / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.004422, allocations: 50.61 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.004423, allocations: 3.938 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001004/0.004523, allocations: 38.81 kB / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.004556, allocations: 55.41 kB / 0.7784 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.004614, allocations: 118.7 kB / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.004624, allocations: 26.77 kB / 0.7786 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.004657, allocations: 92.08 kB / 0.7787 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.004677, allocations: 15.88 kB / 0.7787 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.004702, allocations: 14.22 kB / 0.7787 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.004774, allocations: 315.6 kB / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.004785, allocations: 4 kB / 0.779 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.004795, allocations: 5.125 kB / 0.779 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.004823, allocations: 23.59 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004824, allocations: 0 / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.871e-05/0.004873, allocations: 42.5 kB / 0.7791 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.004885, allocations: 7.938 kB / 0.7791 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.00489, allocations: 1.281 kB / 0.7791 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.004897, allocations: 0 / 0.7791 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.004957, allocations: 8 kB / 0.7791 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.00496, allocations: 0 / 0.7791 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.004982, allocations: 8.516 kB / 0.7791 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.004999, allocations: 9.594 kB / 0.7791 GB, free: 1.418 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.121e-05/0.00505, allocations: 112.6 kB / 0.7792 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.005064, allocations: 7.938 kB / 0.7792 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.005144, allocations: 50.33 kB / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.005146, allocations: 0 / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005147, allocations: 1.312 kB / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.00515, allocations: 0 / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.482e-05/0.005235, allocations: 81.83 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005236, allocations: 0 / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.005269, allocations: 13.45 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005271, allocations: 0 / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.005276, allocations: 7.938 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.005278, allocations: 4.469 kB / 0.7794 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005279, allocations: 0 / 0.7794 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/0.005351, allocations: 145.2 kB / 0.7795 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.005359, allocations: 8.047 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.005368, allocations: 3.984 kB / 0.7795 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.005401, allocations: 8.594 kB / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.00543, allocations: 3.984 kB / 0.7795 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.005436, allocations: 4.531 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.731e-05/0.005453, allocations: 17.5 kB / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005453, allocations: 0 / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001181/0.005571, allocations: 13.78 kB / 0.7796 GB, free: 0.9023 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 9.082e-05/0.005662, allocations: 84.34 kB / 0.7796 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.006011, allocations: 67.52 kB / 0.7797 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.006013, allocations: 1.125 kB / 0.7797 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.006032, allocations: 12.86 kB / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.006163, allocations: 11.12 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.006397, allocations: 151.2 kB / 0.7799 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.00643, allocations: 60.11 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.006451, allocations: 9.016 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.006495, allocations: 55.38 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.006495, allocations: 0 / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of Templates: time 0.002202/0.008697, allocations: 0.77 MB / 0.7807 GB, free: 15.68 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Average.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Average_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.Average_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Average_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.Average_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.182269291952252]