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.001029/0.001029, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001207/0.001207, allocations: 166 kB / 24.87 MB, free: 9.258 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.6247 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.262e-06/1.262e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.235e-05, allocations: 5.562 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002141/0.002164, allocations: 1.569 MB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002729/0.002436, allocations: 115.7 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.002482, allocations: 4.562 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.002596, allocations: 4.625 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.278e-05/0.002619, allocations: 12.77 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.002836, allocations: 31.91 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.002919, allocations: 59.77 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.003005, allocations: 16.64 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.003061, allocations: 32.84 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.003113, allocations: 23.91 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.003128, allocations: 4 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.003196, allocations: 17.11 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.003231, allocations: 19.92 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.003254, allocations: 15.98 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.00336, allocations: 49.28 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003362, allocations: 0 / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003363, allocations: 4 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.003368, allocations: 0 / 0.8147 GB, free: 15.47 MB / 0.7761 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.0003708/0.003739, allocations: 393.9 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.003774, allocations: 8.031 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.003807, allocations: 12.89 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.003942, allocations: 133 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.003954, allocations: 4.375 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.003962, allocations: 1.531 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.004108, allocations: 70.92 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.004117, allocations: 5.578 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004126, allocations: 4.375 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004132, allocations: 384 / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.004162, allocations: 23.86 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.004476, allocations: 278 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.004543, allocations: 39.09 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.004565, allocations: 12.44 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.004597, allocations: 4 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.004624, allocations: 38.14 kB / 0.8157 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004625, allocations: 0 / 0.8157 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001413/0.004766, allocations: 46.97 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.004801, allocations: 51.41 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.004884, allocations: 173.9 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.004895, allocations: 29.64 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.004956, allocations: 144.7 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.004982, allocations: 19.83 kB / 0.8161 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.005011, allocations: 15.38 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.005147, allocations: 0.4923 MB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.005161, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.005176, allocations: 13.27 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.005206, allocations: 11.69 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005208, allocations: 0 / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.653e-05/0.005275, allocations: 53.06 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005287, allocations: 4 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005292, allocations: 4 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.0053, allocations: 0 / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.005361, allocations: 15.92 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.005364, allocations: 0 / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.005387, allocations: 4 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.005401, allocations: 0 / 0.8167 GB, free: 13.21 MB / 0.7761 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.043e-05/0.005461, allocations: 157.4 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.00548, allocations: 7.891 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.005564, allocations: 54.17 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005566, allocations: 0 / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.005567, allocations: 0.5625 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.00557, allocations: 0.5625 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.005668, allocations: 109.2 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.00567, allocations: 1.688 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.005702, allocations: 15.92 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.005704, allocations: 4 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.005709, allocations: 0.625 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.005711, allocations: 4.531 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005712, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.006081, allocations: 197.9 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.006089, allocations: 4 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.006099, allocations: 4 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.00614, allocations: 11.92 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.006169, allocations: 7.984 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.006174, allocations: 4.531 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.006209, allocations: 131.6 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006209, allocations: 0.7188 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001585/0.006367, allocations: 16.75 kB / 0.8174 GB, free: 12.44 MB / 0.7761 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.639e-05/0.006464, allocations: 104.1 kB / 0.8175 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.006533, allocations: 19.62 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006534, allocations: 0 / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.006555, allocations: 21.02 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.006729, allocations: 4.328 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.006965, allocations: 151 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.007002, allocations: 73.45 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.007022, allocations: 0 / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.007074, allocations: 82.19 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.007074, allocations: 3.938 kB / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.002536/0.00961, allocations: 0.9068 MB / 0.8188 GB, free: 11.05 MB / 0.7761 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: 5.054813971277326]