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.001035/0.001035, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001023/0.001023, allocations: 173 kB / 24.28 MB, free: 276 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.9655/0.9655, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.893/1.893, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.777e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00283/0.002857, allocations: 1.587 MB / 0.8131 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003553/0.003213, allocations: 120.2 kB / 0.8132 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.003275, allocations: 0 / 0.8132 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.003409, allocations: 13.22 kB / 0.8132 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.003437, allocations: 4 kB / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.003718, allocations: 35.83 kB / 0.8132 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.003833, allocations: 60.58 kB / 0.8133 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.003948, allocations: 15.89 kB / 0.8133 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.288e-05/0.004031, allocations: 32.81 kB / 0.8133 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.004099, allocations: 19.98 kB / 0.8134 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.004119, allocations: 4.656 kB / 0.8134 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.004192, allocations: 19.97 kB / 0.8134 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.004237, allocations: 16.48 kB / 0.8134 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.004269, allocations: 9.25 kB / 0.8134 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.00442, allocations: 59.8 kB / 0.8135 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004423, allocations: 0 / 0.8135 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004424, allocations: 0 / 0.8135 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.004428, allocations: 2.281 kB / 0.8135 GB, free: 14.94 MB / 0.7292 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.0004605/0.004889, allocations: 396 kB / 0.8138 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.004932, allocations: 12.03 kB / 0.8139 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.005002, allocations: 12.83 kB / 0.8139 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.005167, allocations: 124.6 kB / 0.814 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.005178, allocations: 5.047 kB / 0.814 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.005191, allocations: 4.375 kB / 0.814 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.005386, allocations: 80.39 kB / 0.8141 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.005394, allocations: 192 / 0.8141 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005406, allocations: 4.375 kB / 0.8141 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.005414, allocations: 1.531 kB / 0.8141 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.005468, allocations: 15.88 kB / 0.8141 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.005894, allocations: 304.2 kB / 0.8144 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.005989, allocations: 39.62 kB / 0.8144 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.006022, allocations: 12.5 kB / 0.8144 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.00606, allocations: 8.078 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.00609, allocations: 37.39 kB / 0.8145 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.006092, allocations: 0.8125 kB / 0.8145 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000191/0.006283, allocations: 53.62 kB / 0.8145 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.006316, allocations: 51.94 kB / 0.8146 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.006422, allocations: 179.2 kB / 0.8147 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.006435, allocations: 25.7 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.006496, allocations: 142.8 kB / 0.8149 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.4e-05/0.00652, allocations: 15.89 kB / 0.8149 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.006559, allocations: 20.59 kB / 0.8149 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.0067, allocations: 0.4923 MB / 0.8154 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.006724, allocations: 0 / 0.8154 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.006744, allocations: 4.656 kB / 0.8154 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.006791, allocations: 15.69 kB / 0.8154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006794, allocations: 0.7188 kB / 0.8154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001002/0.006894, allocations: 53.56 kB / 0.8155 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.00691, allocations: 8.562 kB / 0.8155 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006914, allocations: 1.375 kB / 0.8155 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.006928, allocations: 0 / 0.8155 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.007019, allocations: 11.98 kB / 0.8155 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.007025, allocations: 0 / 0.8155 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.007061, allocations: 8.812 kB / 0.8155 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.007082, allocations: 7.984 kB / 0.8155 GB, free: 12.62 MB / 0.7292 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 7.99e-05/0.007162, allocations: 160 kB / 0.8157 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.007192, allocations: 11.89 kB / 0.8157 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.007327, allocations: 54 kB / 0.8157 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.00733, allocations: 4 kB / 0.8158 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.007335, allocations: 3.938 kB / 0.8158 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.007338, allocations: 48 / 0.8158 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.007483, allocations: 128.6 kB / 0.8159 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007485, allocations: 0 / 0.8159 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.00754, allocations: 12.48 kB / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.007544, allocations: 5.812 kB / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.007554, allocations: 4 kB / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007556, allocations: 0 / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007557, allocations: 0 / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.007693, allocations: 191.9 kB / 0.8161 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.007703, allocations: 9.156 kB / 0.8161 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.007717, allocations: 0 / 0.8161 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.00782, allocations: 11.92 kB / 0.8161 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.00786, allocations: 1.375 kB / 0.8161 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.007868, allocations: 8 kB / 0.8161 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.007914, allocations: 135.1 kB / 0.8162 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.007914, allocations: 0 / 0.8162 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001533/0.008067, allocations: 12.48 kB / 0.8163 GB, free: 11.82 MB / 0.7292 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.000119/0.008186, allocations: 104.1 kB / 0.8164 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.008277, allocations: 16.53 kB / 0.8164 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008278, allocations: 0 / 0.8164 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.008301, allocations: 19.67 kB / 0.8164 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.008492, allocations: 11.31 kB / 0.8164 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.008794, allocations: 154.4 kB / 0.8165 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.008832, allocations: 60.09 kB / 0.8166 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.008859, allocations: 9.672 kB / 0.8166 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.008885, allocations: 16.5 kB / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/0.008886, allocations: 0 / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.002497/0.01138, allocations: 0.8182 MB / 0.8174 GB, free: 10.6 MB / 0.7292 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.077133720042184]