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.0009571/0.0009571, allocations: 80.8 kB / 20.75 MB, free: 3.746 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.001514/0.001514, allocations: 161 kB / 24.17 MB, free: 336 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.9245/0.9245, allocations: 177.1 MB / 204.6 MB, free: 5.504 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.891/1.891, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.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.072e-06/1.072e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.253e-05, allocations: 6.453 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001693/0.001706, allocations: 1.635 MB / 0.7768 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000238/0.001944, allocations: 123.6 kB / 0.7769 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.00198, allocations: 0.6562 kB / 0.7769 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.002081, allocations: 8.703 kB / 0.7769 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.353e-05/0.002104, allocations: 8.562 kB / 0.7769 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.002272, allocations: 32.59 kB / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.002345, allocations: 55.31 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.871e-05/0.002413, allocations: 23.98 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.002467, allocations: 33.81 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.002512, allocations: 19.92 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.002525, allocations: 7.938 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.002583, allocations: 20.42 kB / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.002613, allocations: 16.55 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.002633, allocations: 19.97 kB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.64e-05/0.00273, allocations: 45.14 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.002731, allocations: 0 / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002732, allocations: 0 / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.454e-06/0.002735, allocations: 0 / 0.7772 GB, free: 3.352 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.0002381/0.002973, allocations: 275.5 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.002999, allocations: 9.344 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.003022, allocations: 8.922 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.003114, allocations: 121.7 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.003121, allocations: 8.312 kB / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.003128, allocations: 4.375 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.003237, allocations: 85.44 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-06/0.003242, allocations: 192 / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.003248, allocations: 384 / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.003252, allocations: 384 / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.003274, allocations: 15.92 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.003474, allocations: 189.8 kB / 0.7779 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.003516, allocations: 26.56 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.003532, allocations: 12.89 kB / 0.7779 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.003553, allocations: 1.375 kB / 0.7779 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.003569, allocations: 38.5 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.00357, allocations: 4 kB / 0.778 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 8.599e-05/0.003656, allocations: 38.41 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.003677, allocations: 55.41 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.69e-05/0.003724, allocations: 120 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.003732, allocations: 25.7 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.003756, allocations: 96.02 kB / 0.7783 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.003773, allocations: 12.42 kB / 0.7783 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.003794, allocations: 17.7 kB / 0.7783 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.051e-05/0.003855, allocations: 316 kB / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.003866, allocations: 7.938 kB / 0.7786 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.003875, allocations: 4.172 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.003896, allocations: 20.83 kB / 0.7786 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.003897, allocations: 0 / 0.7786 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.691e-05/0.003934, allocations: 37.69 kB / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.003943, allocations: 12.44 kB / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.003946, allocations: 0.9062 kB / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.003954, allocations: 0 / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.004002, allocations: 13.3 kB / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.004005, allocations: 3.938 kB / 0.7787 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.004026, allocations: 11.98 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.004037, allocations: 4.812 kB / 0.7787 GB, free: 1.637 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 4.14e-05/0.004078, allocations: 108.7 kB / 0.7788 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.004092, allocations: 13.34 kB / 0.7788 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.004154, allocations: 49.67 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.004155, allocations: 0 / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.004156, allocations: 0 / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004158, allocations: 1.594 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.417e-05/0.004232, allocations: 81.83 kB / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-07/0.004233, allocations: 0 / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.004257, allocations: 11.98 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.004258, allocations: 0.5312 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.004262, allocations: 1.188 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.004263, allocations: 3.938 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.004265, allocations: 3.938 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.568e-05/0.00432, allocations: 136.2 kB / 0.7791 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.004327, allocations: 8 kB / 0.7791 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.004335, allocations: 4.516 kB / 0.7791 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.171e-05/0.004366, allocations: 8.625 kB / 0.7791 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.004388, allocations: 3.984 kB / 0.7791 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.004392, allocations: 9.5 kB / 0.7792 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.338e-05/0.004405, allocations: 20.84 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.004405, allocations: 0 / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000111/0.004516, allocations: 11.98 kB / 0.7792 GB, free: 1.125 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 6.767e-05/0.004584, allocations: 81.86 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.867e-05/0.004643, allocations: 63.53 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.004644, allocations: 1.125 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.004661, allocations: 16.84 kB / 0.7793 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.004767, allocations: 8.766 kB / 0.7793 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.004952, allocations: 155.8 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.694e-05/0.004979, allocations: 59.34 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.004998, allocations: 5.547 kB / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.005036, allocations: 55.36 kB / 0.7796 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/0.005036, allocations: 5.125 kB / 0.7796 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of Templates: time 0.002066/0.007103, allocations: 0.7674 MB / 0.7804 GB, free: 15.89 MB / 0.7448 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: 4.725944989360869]