Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009948/0.0009948, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009663/0.0009663, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9441/0.9441, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.413/2.413, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 4 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.786e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002239/0.002266, allocations: 1.591 MB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.002575, allocations: 111.7 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.002629, allocations: 4 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.002753, allocations: 3.938 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.579e-05/0.002778, allocations: 7.875 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.003011, allocations: 31.95 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.003093, allocations: 59.83 kB / 0.8915 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.003192, allocations: 19.97 kB / 0.8915 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.003255, allocations: 27.92 kB / 0.8916 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.003315, allocations: 19.97 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.003332, allocations: 7.938 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.003398, allocations: 23.91 kB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.003433, allocations: 15.92 kB / 0.8916 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.003456, allocations: 15.94 kB / 0.8916 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.003575, allocations: 55.8 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003577, allocations: 0 / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003578, allocations: 4 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003583, allocations: 4 kB / 0.8917 GB, free: 7.719 MB / 0.8542 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.0003702/0.003953, allocations: 392.1 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.003992, allocations: 8.625 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.004026, allocations: 8.891 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.004142, allocations: 128.5 kB / 0.8922 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.004152, allocations: 8.312 kB / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.004162, allocations: 4.375 kB / 0.8922 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.004297, allocations: 70.92 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004305, allocations: 4.188 kB / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.004312, allocations: 4.375 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.00432, allocations: 4.359 kB / 0.8923 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.004345, allocations: 11.94 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.004664, allocations: 280.2 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.863e-05/0.004722, allocations: 38.98 kB / 0.8926 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.004744, allocations: 15.72 kB / 0.8926 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.004776, allocations: 8 kB / 0.8926 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.004797, allocations: 37.33 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.004799, allocations: 4 kB / 0.8927 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001219/0.00492, allocations: 45.78 kB / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.004946, allocations: 51.41 kB / 0.8928 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.005016, allocations: 173.9 kB / 0.8929 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005026, allocations: 25.7 kB / 0.893 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.005071, allocations: 142.8 kB / 0.8931 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.005091, allocations: 15.89 kB / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.005118, allocations: 19.36 kB / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.00523, allocations: 0.4884 MB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.005242, allocations: 3.938 kB / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.005254, allocations: 11.98 kB / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.005281, allocations: 15.69 kB / 0.8936 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005283, allocations: 0 / 0.8936 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.733e-05/0.00534, allocations: 49.58 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.005354, allocations: 8 kB / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005358, allocations: 0 / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.005371, allocations: 0 / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.005434, allocations: 8 kB / 0.8937 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.005437, allocations: 3.938 kB / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.005459, allocations: 7.984 kB / 0.8937 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.005473, allocations: 4 kB / 0.8937 GB, free: 5.445 MB / 0.8542 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 6.366e-05/0.005537, allocations: 160.6 kB / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.005551, allocations: 7.891 kB / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.647e-05/0.005638, allocations: 53.67 kB / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.00564, allocations: 0 / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.005642, allocations: 0 / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.005646, allocations: 0 / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.781e-05/0.005743, allocations: 105.2 kB / 0.894 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005745, allocations: 3.938 kB / 0.894 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.005775, allocations: 15.98 kB / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.005778, allocations: 8.375 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.005783, allocations: 0 / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.005784, allocations: 3.938 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.005787, allocations: 3.938 kB / 0.8941 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.005892, allocations: 187.9 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.0059, allocations: 7.953 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.005911, allocations: 4 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.00595, allocations: 15.92 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.00599, allocations: 4 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.005997, allocations: 0 / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.006047, allocations: 135.2 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006047, allocations: 4 kB / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001521/0.006199, allocations: 12 kB / 0.8944 GB, free: 4.656 MB / 0.8542 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.0001577/0.006356, allocations: 99.17 kB / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.047e-05/0.006447, allocations: 27.62 kB / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006449, allocations: 0 / 0.8945 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.006471, allocations: 15.67 kB / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.006682, allocations: 8 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.007006, allocations: 154 kB / 0.8947 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.48e-05/0.007051, allocations: 64.11 kB / 0.8948 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.007078, allocations: 0 / 0.8948 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.007143, allocations: 78.19 kB / 0.8949 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/0.007144, allocations: 0 / 0.8949 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of Templates: time 0.003402/0.01055, allocations: 0.8988 MB / 0.8957 GB, free: 3.262 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.227730798069388]