Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009389/0.0009389, allocations: 83.59 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.001328/0.001328, allocations: 165 kB / 23.82 MB, free: 0.7461 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.8914/0.8914, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.096e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00281/0.002831, allocations: 1.583 MB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.003183, allocations: 112.7 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.003236, allocations: 3.938 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.003379, allocations: 17.11 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.003413, allocations: 7.875 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.003699, allocations: 23.97 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.003814, allocations: 64.41 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003928, allocations: 21.45 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.004006, allocations: 27.97 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.00408, allocations: 27.89 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.004101, allocations: 4 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.088e-05/0.004172, allocations: 23.17 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.004216, allocations: 11.98 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.004252, allocations: 15.94 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004406, allocations: 51.75 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.004408, allocations: 0 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.926e-06/0.004411, allocations: 3.984 kB / 0.7891 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.004417, allocations: 0 / 0.7891 GB, free: 10.49 MB / 0.7448 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.0004613/0.004878, allocations: 388.5 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.004918, allocations: 13 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.004967, allocations: 12.89 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.005377, allocations: 136.4 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.005388, allocations: 0.9688 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.005402, allocations: 5.719 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.005605, allocations: 78.86 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.005613, allocations: 192 / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005625, allocations: 5 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.005633, allocations: 384 / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.005682, allocations: 12.91 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.006104, allocations: 304.4 kB / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.448e-05/0.006198, allocations: 35.06 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.006232, allocations: 16.22 kB / 0.79 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.006271, allocations: 5.422 kB / 0.79 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.006298, allocations: 41.39 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.006299, allocations: 96 / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001922/0.006491, allocations: 49.62 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.006526, allocations: 52.94 kB / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.006619, allocations: 173.9 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.006632, allocations: 25.7 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.00669, allocations: 142.8 kB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.006715, allocations: 21.38 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.006752, allocations: 15.38 kB / 0.7905 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.006882, allocations: 0.4923 MB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.006907, allocations: 0 / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.889e-05/0.006926, allocations: 4.562 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.006976, allocations: 23.62 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006978, allocations: 1.531 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.394e-05/0.007072, allocations: 45.62 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.007087, allocations: 4 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007092, allocations: 336 / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007105, allocations: 4.469 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.007204, allocations: 14.05 kB / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.007209, allocations: 0 / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.007247, allocations: 12 kB / 0.7911 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.007271, allocations: 4 kB / 0.7911 GB, free: 8.188 MB / 0.7448 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.549e-05/0.007347, allocations: 157.1 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.007379, allocations: 15.88 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.00751, allocations: 58.34 kB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007512, allocations: 0 / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.007517, allocations: 5.484 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.00752, allocations: 0 / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.00766, allocations: 120.6 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007662, allocations: 0 / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.007727, allocations: 13.05 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.007732, allocations: 7.938 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.00774, allocations: 0.875 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007742, allocations: 0 / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007742, allocations: 0 / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.007889, allocations: 196.7 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.0079, allocations: 11.94 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.007913, allocations: 2.125 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.007989, allocations: 7.984 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.008034, allocations: 4 kB / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.008042, allocations: 0 / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.008098, allocations: 135.2 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008098, allocations: 0.5 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002519/0.00835, allocations: 11.95 kB / 0.7918 GB, free: 7.391 MB / 0.7448 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.0001199/0.008469, allocations: 105.8 kB / 0.7919 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.008584, allocations: 19.69 kB / 0.7919 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.008586, allocations: 0 / 0.7919 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.008621, allocations: 23.61 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.008877, allocations: 13.62 kB / 0.792 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.009233, allocations: 150 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.52e-05/0.009278, allocations: 63.34 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.009314, allocations: 9.891 kB / 0.7922 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.009345, allocations: 8.5 kB / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.009346, allocations: 0 / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.003132/0.01248, allocations: 0.8898 MB / 0.7931 GB, free: 6.086 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.738944950979203]