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.001002/0.001002, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009647/0.0009647, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9581/0.9581, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.827/1.827, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.402e-06/1.402e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.936e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00184/0.001859, allocations: 1.591 MB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002677/0.002127, allocations: 112.4 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.002168, allocations: 3.938 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.00228, allocations: 12.83 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.002305, allocations: 12.52 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.00255, allocations: 23.97 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.002635, allocations: 60.66 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.002725, allocations: 15.97 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.002788, allocations: 29.22 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.002844, allocations: 31.91 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.00286, allocations: 4 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.002914, allocations: 15.92 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.002949, allocations: 17.66 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.002975, allocations: 15.94 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.003088, allocations: 55.75 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.00309, allocations: 0 / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003091, allocations: 1.281 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.003095, allocations: 0 / 0.8135 GB, free: 15.74 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.0004013/0.003496, allocations: 392.5 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.003528, allocations: 12.84 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.003568, allocations: 8.891 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.003701, allocations: 133.3 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.00371, allocations: 384 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.003722, allocations: 9.094 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.003871, allocations: 82.8 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.003878, allocations: 1.406 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.003887, allocations: 384 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.003893, allocations: 384 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.003929, allocations: 12.56 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.004247, allocations: 300.8 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.004319, allocations: 39.05 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.004346, allocations: 24.52 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.004377, allocations: 0 / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.004395, allocations: 33.95 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004396, allocations: 4.094 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001434/0.00454, allocations: 50.84 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.004567, allocations: 51.41 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.004637, allocations: 173.9 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.004648, allocations: 27.52 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.0047, allocations: 142.8 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.00472, allocations: 15.83 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.004747, allocations: 19.38 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.004848, allocations: 0.4899 MB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.004867, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.004883, allocations: 7.984 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.004916, allocations: 19.62 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004918, allocations: 4 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.408e-05/0.004982, allocations: 50.16 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004994, allocations: 7.438 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004998, allocations: 0 / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005009, allocations: 3.938 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.005081, allocations: 11.98 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.005086, allocations: 0 / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.005109, allocations: 4 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.005125, allocations: 4 kB / 0.8155 GB, free: 13.44 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 5.724e-05/0.005182, allocations: 152.6 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.005199, allocations: 12.39 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.135e-05/0.00529, allocations: 62.11 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005292, allocations: 4 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.005295, allocations: 0.5312 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005297, allocations: 0.5625 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.745e-05/0.005395, allocations: 130 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005396, allocations: 0 / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.005426, allocations: 8 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.005431, allocations: 3.938 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.005438, allocations: 8.516 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00544, allocations: 0.625 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005441, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.005537, allocations: 197.8 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.005545, allocations: 8.359 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.005555, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.005596, allocations: 4 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.005634, allocations: 11.98 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.005639, allocations: 0.625 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.005677, allocations: 131.2 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.005678, allocations: 0.8125 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001494/0.005827, allocations: 15.95 kB / 0.8163 GB, free: 12.64 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.578e-05/0.005923, allocations: 104.1 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.412e-05/0.006007, allocations: 25 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006008, allocations: 0 / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.00603, allocations: 19.62 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.006207, allocations: 20.22 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.006464, allocations: 152.3 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.006501, allocations: 67.2 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.00653, allocations: 4 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.006556, allocations: 13.59 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.006557, allocations: 0 / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.002693/0.00925, allocations: 0.8797 MB / 0.8175 GB, free: 11.34 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: 4.9795612171292305]