Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001735/0.001735, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00213/0.00213, allocations: 164.2 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.668/2.668, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.913e-05, allocations: 5.234 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002828/0.002858, allocations: 1.542 MB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003721/0.00323, allocations: 119.6 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.003286, allocations: 3.938 kB / 0.9526 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003412, allocations: 11.86 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.003453, allocations: 3.938 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.003695, allocations: 31.95 kB / 0.9527 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003809, allocations: 55.78 kB / 0.9527 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.003929, allocations: 15.98 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.004017, allocations: 35.91 kB / 0.9528 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.004087, allocations: 27.95 kB / 0.9528 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.00411, allocations: 8 kB / 0.9528 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.004173, allocations: 11.98 kB / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.004221, allocations: 15.94 kB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.004262, allocations: 11.98 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004408, allocations: 63.78 kB / 0.9529 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004411, allocations: 0 / 0.9529 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.248e-06/0.004415, allocations: 4 kB / 0.9529 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.00442, allocations: 3.938 kB / 0.9529 GB, free: 9.625 MB / 0.8575 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.0005791/0.004999, allocations: 314 kB / 0.9532 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.005033, allocations: 8.031 kB / 0.9532 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.005075, allocations: 4.938 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.005253, allocations: 121.7 kB / 0.9533 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.005265, allocations: 384 / 0.9533 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.005279, allocations: 4.375 kB / 0.9533 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.005591, allocations: 86.2 kB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.005603, allocations: 4.125 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005614, allocations: 384 / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.005618, allocations: 8.312 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.005963, allocations: 87.84 kB / 0.9535 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.006497, allocations: 264.4 kB / 0.9538 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.006724, allocations: 58.53 kB / 0.9538 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.006889, allocations: 36.86 kB / 0.9538 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.006928, allocations: 8 kB / 0.9539 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.00696, allocations: 30.56 kB / 0.9539 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.006961, allocations: 0 / 0.9539 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006288/0.00759, allocations: 145.5 kB / 0.954 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.007636, allocations: 55.41 kB / 0.9541 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.007749, allocations: 113.8 kB / 0.9542 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.007768, allocations: 29.64 kB / 0.9542 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.007832, allocations: 100 kB / 0.9543 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.007852, allocations: 7.953 kB / 0.9543 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.00789, allocations: 13.72 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.00805, allocations: 318.8 kB / 0.9546 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.008217, allocations: 35.95 kB / 0.9547 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.008369, allocations: 35.95 kB / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.008682, allocations: 73.05 kB / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.008686, allocations: 4 kB / 0.9548 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003777/0.009064, allocations: 113.5 kB / 0.9549 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.00908, allocations: 8 kB / 0.9549 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.009084, allocations: 0 / 0.9549 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.009101, allocations: 3.984 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.009229, allocations: 11.98 kB / 0.9549 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.009236, allocations: 4 kB / 0.9549 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.009317, allocations: 7.984 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.009337, allocations: 8 kB / 0.9549 GB, free: 7.367 MB / 0.8575 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 9.19e-05/0.009429, allocations: 117.8 kB / 0.955 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.009459, allocations: 7.891 kB / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.009882, allocations: 113.6 kB / 0.9552 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009884, allocations: 3.938 kB / 0.9552 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.009887, allocations: 0 / 0.9552 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.00989, allocations: 0 / 0.9552 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.01006, allocations: 129.2 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01006, allocations: 0 / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01016, allocations: 15.98 kB / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01016, allocations: 3.938 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01017, allocations: 0 / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01017, allocations: 0 / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01017, allocations: 0 / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.0106, allocations: 207.4 kB / 0.9555 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.01061, allocations: 7.891 kB / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01063, allocations: 3.984 kB / 0.9555 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01075, allocations: 11.98 kB / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.01079, allocations: 0 / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.0108, allocations: 7.938 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.568e-05/0.01086, allocations: 99.58 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01086, allocations: 0 / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002468/0.01111, allocations: 12 kB / 0.9556 GB, free: 6.574 MB / 0.8575 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 0.0001512/0.01126, allocations: 103.2 kB / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.01164, allocations: 71.92 kB / 0.9558 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01164, allocations: 0 / 0.9558 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.01181, allocations: 39.95 kB / 0.9558 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01211, allocations: 12 kB / 0.9559 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.01249, allocations: 157.2 kB / 0.956 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.01256, allocations: 71.33 kB / 0.9561 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.0126, allocations: 7.984 kB / 0.9561 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.01265, allocations: 12.5 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.01265, allocations: 0 / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.003614/0.01626, allocations: 0.8276 MB / 0.9569 GB, free: 5.238 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.621391121298075]