Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001015/0.001015, allocations: 80.8 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.001046/0.001046, allocations: 161 kB / 24.16 MB, free: 332 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 1.036/1.036, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.024/2.024, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.76 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.449e-05, allocations: 10.14 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002404/0.002428, allocations: 1.637 MB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.00275, allocations: 124.7 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.002798, allocations: 0.875 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.002919, allocations: 7.922 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.002946, allocations: 8.844 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.003183, allocations: 23.97 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.003293, allocations: 66.45 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.003387, allocations: 16 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.003458, allocations: 31.23 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.00352, allocations: 26.8 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003537, allocations: 4 kB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.003616, allocations: 27.86 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.003654, allocations: 17.72 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.003677, allocations: 8 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003793, allocations: 51.81 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003795, allocations: 1.25 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003796, allocations: 0 / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.003801, allocations: 3.938 kB / 0.7621 GB, free: 4.555 MB / 0.7136 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.0003295/0.004131, allocations: 270 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.004171, allocations: 8.031 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.004203, allocations: 4.938 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.00434, allocations: 126.7 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.004352, allocations: 8.312 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.004361, allocations: 4.375 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.004501, allocations: 75.84 kB / 0.7625 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.004509, allocations: 192 / 0.7625 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004518, allocations: 4.359 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.004524, allocations: 384 / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.00455, allocations: 11.94 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.004824, allocations: 195 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.004882, allocations: 32.05 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.004901, allocations: 12.95 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.004929, allocations: 7.938 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.004952, allocations: 34.5 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.004954, allocations: 0.5 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001229/0.005076, allocations: 42.53 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.005116, allocations: 51.41 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.005184, allocations: 127.3 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005195, allocations: 25.7 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.005228, allocations: 96.73 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.005246, allocations: 7.891 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.005274, allocations: 19.52 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.005362, allocations: 318.8 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.005377, allocations: 3.938 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.005389, allocations: 4 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.00542, allocations: 15.67 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005422, allocations: 2.438 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.007e-05/0.005483, allocations: 41.69 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.005499, allocations: 9.656 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.005504, allocations: 0 / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.005517, allocations: 0 / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.005593, allocations: 15.98 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.005597, allocations: 6.438 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.00562, allocations: 7.938 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.00564, allocations: 3.984 kB / 0.7636 GB, free: 2.844 MB / 0.7136 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 6.245e-05/0.005702, allocations: 108.7 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.005721, allocations: 7.938 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.005818, allocations: 54.7 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00582, allocations: 0 / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.005822, allocations: 4 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005825, allocations: 0.9375 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.786e-05/0.005922, allocations: 73.88 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005924, allocations: 384 / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.005966, allocations: 12.52 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005968, allocations: 2.844 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.005973, allocations: 0 / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.005976, allocations: 3.938 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.005979, allocations: 4 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.312e-05/0.006072, allocations: 147.4 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.006079, allocations: 3.953 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006088, allocations: 0 / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.006128, allocations: 14.95 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.00616, allocations: 7.984 kB / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.006167, allocations: 0 / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.023e-05/0.006187, allocations: 20.84 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006187, allocations: 0 / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001302/0.006317, allocations: 8 kB / 0.764 GB, free: 2.332 MB / 0.7136 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.0001066/0.006424, allocations: 84.34 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.799e-05/0.006502, allocations: 65.19 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.006506, allocations: 4 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.006526, allocations: 12.84 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.006675, allocations: 9.031 kB / 0.7642 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.006947, allocations: 150.6 kB / 0.7643 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.006984, allocations: 63.34 kB / 0.7644 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.007008, allocations: 1.281 kB / 0.7644 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.007059, allocations: 59.38 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.007059, allocations: 0.6875 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.002571/0.00963, allocations: 0.7749 MB / 0.7652 GB, free: 1.098 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Average.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.159285843838006]