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.0009958/0.0009958, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001057/0.001057, allocations: 169.3 kB / 24.28 MB, free: 280 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.9824/0.9824, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.812/1.812, allocations: 359 MB / 0.6055 GB, free: 11.01 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 2.073e-06/2.073e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.077e-05, allocations: 9.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002706/0.002727, allocations: 1.578 MB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003566/0.003083, allocations: 123.6 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.003149, allocations: 0.6562 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.003284, allocations: 13.3 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.14e-05/0.003316, allocations: 7.875 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.003596, allocations: 23.97 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.00371, allocations: 57.16 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.003824, allocations: 19.95 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.003905, allocations: 35.91 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.003978, allocations: 25.03 kB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003999, allocations: 4 kB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.004066, allocations: 15.88 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.00411, allocations: 21.28 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.004149, allocations: 19.92 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004294, allocations: 51.81 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004296, allocations: 0 / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004297, allocations: 1.219 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004301, allocations: 0 / 0.789 GB, free: 10.79 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.0004515/0.004753, allocations: 390.2 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.004798, allocations: 16.02 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.004853, allocations: 8.891 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.005029, allocations: 132.5 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.005041, allocations: 384 / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.005055, allocations: 13.16 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.005255, allocations: 70.94 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005264, allocations: 1.781 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.005275, allocations: 384 / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.005284, allocations: 384 / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.005346, allocations: 15.92 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.00579, allocations: 301.2 kB / 0.79 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.448e-05/0.005884, allocations: 35.05 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.00592, allocations: 19.62 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.005954, allocations: 2.75 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.005981, allocations: 45.33 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.005983, allocations: 3.938 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001992/0.006182, allocations: 45.78 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.006217, allocations: 51.41 kB / 0.7901 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006318, allocations: 169.9 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.006332, allocations: 30.41 kB / 0.7903 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.006393, allocations: 142.8 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.006416, allocations: 17.5 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.006454, allocations: 15.38 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.006591, allocations: 0.4923 MB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.006613, allocations: 0 / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.006634, allocations: 7.938 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.006683, allocations: 25.33 kB / 0.791 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006685, allocations: 0 / 0.791 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/0.00679, allocations: 49.62 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.006806, allocations: 9.734 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006811, allocations: 0 / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.006826, allocations: 0 / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.006919, allocations: 8 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.006925, allocations: 0 / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.006962, allocations: 9.047 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.006981, allocations: 4 kB / 0.7911 GB, free: 8.488 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.473e-05/0.007056, allocations: 158.4 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.007088, allocations: 15.89 kB / 0.7913 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.007214, allocations: 53.67 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007215, allocations: 0 / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.007219, allocations: 0 / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007222, allocations: 2 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.007366, allocations: 124.6 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007368, allocations: 0 / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.007422, allocations: 11.98 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.007427, allocations: 7.938 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.007435, allocations: 0.5938 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.007438, allocations: 8.469 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.007439, allocations: 0 / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.007575, allocations: 196.5 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.007586, allocations: 7.938 kB / 0.7917 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.007602, allocations: 4.516 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.007677, allocations: 5.469 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.007726, allocations: 11.98 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.007734, allocations: 0 / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.007789, allocations: 131.2 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007789, allocations: 0.5312 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002687/0.008058, allocations: 17.33 kB / 0.7918 GB, free: 7.684 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.0001201/0.008178, allocations: 103.2 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.008286, allocations: 24.77 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008288, allocations: 0 / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.008321, allocations: 15.69 kB / 0.792 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.008609, allocations: 10.47 kB / 0.792 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.008961, allocations: 154.8 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.655e-05/0.009008, allocations: 64.69 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.009045, allocations: 4.234 kB / 0.7922 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.009077, allocations: 13.09 kB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/0.009077, allocations: 0 / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.003221/0.0123, allocations: 0.8331 MB / 0.793 GB, free: 6.449 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: 5.036254218081012]