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.001053/0.001053, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001088/0.001088, allocations: 165 kB / 23.82 MB, free: 0.7422 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.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.815/1.815, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.513e-06/1.513e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.956e-05, allocations: 7.25 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001905/0.001925, allocations: 1.592 MB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.002209, allocations: 116.5 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.002252, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.00237, allocations: 12.89 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.002407, allocations: 8 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.002642, allocations: 28.95 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.002729, allocations: 59.78 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.002826, allocations: 20.7 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.002887, allocations: 31.95 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.002945, allocations: 29.59 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.002964, allocations: 4 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.003026, allocations: 11.94 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.003064, allocations: 11.98 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.003094, allocations: 19.92 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.003218, allocations: 53.34 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00322, allocations: 0 / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003221, allocations: 0 / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003225, allocations: 0 / 0.8135 GB, free: 15.73 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.0003727/0.003598, allocations: 389.1 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.003633, allocations: 12.91 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.00367, allocations: 12.88 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.003806, allocations: 142 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.003815, allocations: 4.375 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.003827, allocations: 384 / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.003976, allocations: 78.88 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.003986, allocations: 2.781 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.003995, allocations: 384 / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.004003, allocations: 384 / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.004043, allocations: 19.86 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.004387, allocations: 295.7 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.004458, allocations: 43.61 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.004486, allocations: 15.62 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.004521, allocations: 4.719 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.004551, allocations: 37.92 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.004552, allocations: 0 / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001545/0.004707, allocations: 47.44 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.004732, allocations: 51.41 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.00481, allocations: 169.9 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.00482, allocations: 25.7 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.00487, allocations: 143.3 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.004891, allocations: 19.84 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.004919, allocations: 19.91 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.005036, allocations: 0.4931 MB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.005053, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.005066, allocations: 5.156 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.005098, allocations: 23.67 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.0051, allocations: 0 / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.229e-05/0.005162, allocations: 47.3 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005174, allocations: 4 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005178, allocations: 48 / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.005195, allocations: 7.969 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.005267, allocations: 17.62 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.005272, allocations: 0 / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.005297, allocations: 11.98 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.005314, allocations: 4 kB / 0.8155 GB, free: 13.42 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.715e-05/0.005371, allocations: 153.6 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.005389, allocations: 11.89 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.00549, allocations: 58.52 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005491, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.005494, allocations: 2.219 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.005497, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.005599, allocations: 124.6 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.0056, allocations: 0 / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.005631, allocations: 11.98 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.005634, allocations: 7.938 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.005641, allocations: 2.781 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005641, allocations: 3.938 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005642, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.729e-05/0.005739, allocations: 195.9 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.005747, allocations: 3.938 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.005757, allocations: 3.984 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.005794, allocations: 4 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.005833, allocations: 13.48 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.005838, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.005878, allocations: 131.2 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005878, allocations: 0 / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001547/0.006033, allocations: 16.45 kB / 0.8163 GB, free: 12.62 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.807e-05/0.006131, allocations: 99.69 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.233e-05/0.006213, allocations: 24.17 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006214, allocations: 1.375 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.006236, allocations: 15.69 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.006417, allocations: 8 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.0002667/0.006683, allocations: 155.7 kB / 0.8165 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.006719, allocations: 67.2 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.006744, allocations: 8.609 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.006769, allocations: 16.19 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.006769, allocations: 0 / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.002271/0.009041, allocations: 0.8259 MB / 0.8174 GB, free: 11.39 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.079003471881151]