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.0009146/0.0009146, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001025/0.001025, allocations: 161 kB / 24.17 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 0.9498/0.9498, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 1.882/1.882, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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.583e-06/1.583e-06, allocations: 0.875 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.127e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002147/0.002168, allocations: 1.602 MB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003141/0.002483, allocations: 121.6 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.002533, allocations: 3.938 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.002653, allocations: 12.81 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.578e-05/0.002679, allocations: 11.52 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.002902, allocations: 25.09 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.878e-05/0.002991, allocations: 54.25 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.003076, allocations: 23.97 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.003138, allocations: 35.23 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.003193, allocations: 21.61 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.003208, allocations: 4.781 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.003262, allocations: 12.59 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.003303, allocations: 26.19 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.003326, allocations: 15.98 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.003432, allocations: 48.38 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003434, allocations: 5.312 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003435, allocations: 0 / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003438, allocations: 0 / 0.762 GB, free: 4.645 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.0002957/0.003734, allocations: 270 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.003765, allocations: 8.031 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.003792, allocations: 12.92 kB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.003901, allocations: 123.6 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.00391, allocations: 8.359 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.003921, allocations: 4.375 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.00404, allocations: 73.7 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.004047, allocations: 4.188 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.004054, allocations: 1.125 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004059, allocations: 384 / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.004084, allocations: 16.67 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.004327, allocations: 194.6 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/0.004377, allocations: 24.77 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.004393, allocations: 4.859 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.004416, allocations: 4 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.004435, allocations: 34.5 kB / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.004435, allocations: 0 / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001027/0.004538, allocations: 53.8 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.004566, allocations: 56.88 kB / 0.7628 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.296e-05/0.004619, allocations: 118.7 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.004628, allocations: 25.7 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.004659, allocations: 88.09 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.004676, allocations: 13.12 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.004702, allocations: 21.7 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.004774, allocations: 310.8 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.004785, allocations: 13.17 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-06/0.004794, allocations: 0 / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.004822, allocations: 19.95 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.004823, allocations: 0.5938 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.645e-05/0.00487, allocations: 41.62 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.004881, allocations: 19.17 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004886, allocations: 0 / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.004896, allocations: 0 / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.004955, allocations: 8 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.004958, allocations: 0 / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.004978, allocations: 7.984 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.004991, allocations: 0 / 0.7635 GB, free: 2.945 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 5.393e-05/0.005045, allocations: 123.5 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.005059, allocations: 7.938 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.005136, allocations: 53.61 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005137, allocations: 0 / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005139, allocations: 4 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005142, allocations: 0 / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.943e-05/0.005221, allocations: 73.88 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005222, allocations: 0 / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.00525, allocations: 13.45 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.005252, allocations: 4 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.005256, allocations: 0 / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.005259, allocations: 3.938 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005259, allocations: 0.6562 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.758e-05/0.005327, allocations: 131.5 kB / 0.7639 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.005334, allocations: 12.62 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.005343, allocations: 4 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.005377, allocations: 14.75 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.005405, allocations: 3.984 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.005409, allocations: 0 / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.417e-05/0.005423, allocations: 16.84 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005423, allocations: 0 / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001179/0.005541, allocations: 15.94 kB / 0.764 GB, free: 2.422 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.0001/0.005641, allocations: 87.48 kB / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.00571, allocations: 67.56 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005712, allocations: 0 / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.005729, allocations: 12.8 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.005858, allocations: 12 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.006094, allocations: 151.8 kB / 0.7643 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.006128, allocations: 59.34 kB / 0.7643 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.006149, allocations: 4 kB / 0.7643 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.006192, allocations: 56.42 kB / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.006192, allocations: 0 / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of Templates: time 0.002162/0.008355, allocations: 0.78 MB / 0.7651 GB, free: 1.184 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 -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: 4.884422939270735]