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.0009668/0.0009668, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001619/0.001619, allocations: 181 kB / 24.09 MB, free: 416 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.9502/0.9502, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.782/1.782, allocations: 359 MB / 0.6055 GB, free: 10.88 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.593e-06/1.593e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.037e-05, allocations: 6.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002832/0.002853, allocations: 1.574 MB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003159/0.003169, allocations: 115.7 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.003219, allocations: 4 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.003318, allocations: 16.77 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.406e-05/0.003352, allocations: 4.781 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.003555, allocations: 31.89 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.003643, allocations: 56.34 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.003735, allocations: 19.97 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.003808, allocations: 37.11 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.136e-05/0.003869, allocations: 23.91 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.003889, allocations: 4 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.003954, allocations: 20.48 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.003986, allocations: 12.7 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.004013, allocations: 15.94 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.004129, allocations: 48.72 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.00413, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004131, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.004135, allocations: 4.656 kB / 0.7895 GB, free: 10.19 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.0004312/0.004566, allocations: 397 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.004603, allocations: 9.688 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.004639, allocations: 8.891 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.004785, allocations: 140.4 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.004798, allocations: 4.375 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.004808, allocations: 384 / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.004962, allocations: 72.42 kB / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.00497, allocations: 192 / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.00498, allocations: 4.375 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.004986, allocations: 1.969 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.005031, allocations: 19.88 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.00539, allocations: 272.3 kB / 0.7904 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.005445, allocations: 42.55 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.005466, allocations: 15.69 kB / 0.7904 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.005492, allocations: 4 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.005511, allocations: 37.33 kB / 0.7905 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.005512, allocations: 0 / 0.7905 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001121/0.005624, allocations: 45.78 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.00565, allocations: 55.34 kB / 0.7906 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.005717, allocations: 173.8 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.005727, allocations: 25.7 kB / 0.7908 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.005773, allocations: 147.4 kB / 0.7909 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.005789, allocations: 16.47 kB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.005816, allocations: 19.38 kB / 0.7909 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.005922, allocations: 0.493 MB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.005932, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.005943, allocations: 5.219 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.005969, allocations: 19.94 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00597, allocations: 0 / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.782e-05/0.006028, allocations: 50.2 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.006039, allocations: 8 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006044, allocations: 1.125 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.006054, allocations: 0 / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.006107, allocations: 16.8 kB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.006109, allocations: 0 / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.00617, allocations: 7.984 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.006183, allocations: 0.5938 kB / 0.7915 GB, free: 7.922 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 6.345e-05/0.006247, allocations: 157.7 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.006266, allocations: 7.891 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.006354, allocations: 57.67 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006355, allocations: 0.75 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006357, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006359, allocations: 1.188 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.173e-05/0.006451, allocations: 105.2 kB / 0.7918 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006452, allocations: 3.938 kB / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.006482, allocations: 10.22 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.006486, allocations: 4 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.006495, allocations: 3.984 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.006497, allocations: 3.938 kB / 0.7919 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006498, allocations: 0 / 0.7919 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.862e-05/0.006586, allocations: 194.7 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.006592, allocations: 4 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.006601, allocations: 4 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.006637, allocations: 7.938 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.006663, allocations: 11.98 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.006667, allocations: 0 / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.00671, allocations: 135.2 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00671, allocations: 0 / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001396/0.006849, allocations: 13.45 kB / 0.7922 GB, free: 7.156 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 8.477e-05/0.006934, allocations: 103.1 kB / 0.7923 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.881e-05/0.006993, allocations: 24.17 kB / 0.7923 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.006994, allocations: 0.5 kB / 0.7923 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.007011, allocations: 11.69 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.007168, allocations: 9.922 kB / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.007378, allocations: 157.8 kB / 0.7925 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.007411, allocations: 67.97 kB / 0.7926 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.007428, allocations: 2.219 kB / 0.7926 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.007474, allocations: 74.2 kB / 0.7927 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.007474, allocations: 0 / 0.7927 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of Templates: time 0.002167/0.009641, allocations: 0.9035 MB / 0.7935 GB, free: 5.781 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.818492534104735]