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.001117/0.001117, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.004481/0.004481, allocations: 173 kB / 23.36 MB, free: 0.9727 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.052/1.052, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.454/2.454, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.423e-06/1.423e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.617e-05, allocations: 8.703 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00207/0.002087, allocations: 1.633 MB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.00242, allocations: 119.5 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.002474, allocations: 4 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.002587, allocations: 3.938 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.864e-05/0.002616, allocations: 15.84 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.002834, allocations: 23.97 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.5e-05/0.002919, allocations: 55.84 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.003007, allocations: 23.97 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.003075, allocations: 35.91 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.003129, allocations: 19.97 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.003147, allocations: 8 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.003217, allocations: 19.88 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.003255, allocations: 19.91 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.003279, allocations: 19.92 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.003384, allocations: 51.81 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003386, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003387, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.00339, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 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.0003184/0.003709, allocations: 264.4 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.003739, allocations: 8.625 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.00377, allocations: 8.922 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.003903, allocations: 129.7 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.003913, allocations: 8.312 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.003923, allocations: 4.375 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.004058, allocations: 69.77 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004066, allocations: 192 / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.004075, allocations: 4.375 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.004081, allocations: 384 / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.801e-05/0.004109, allocations: 15.92 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.00438, allocations: 189.8 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.004435, allocations: 34.52 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.004453, allocations: 8.953 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.004478, allocations: 7.938 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.004503, allocations: 42.58 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.004505, allocations: 3.984 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001219/0.004627, allocations: 41.69 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.004658, allocations: 51.41 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.004726, allocations: 126.6 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.004736, allocations: 25.7 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.004767, allocations: 88.12 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.004787, allocations: 15.84 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.004814, allocations: 21.7 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.004895, allocations: 314.8 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.004907, allocations: 7.922 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.00492, allocations: 4 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.004949, allocations: 15.67 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004951, allocations: 0 / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.401e-05/0.005005, allocations: 41.69 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.005019, allocations: 7.938 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.005024, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.00504, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.005106, allocations: 12 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.00511, allocations: 7.984 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.005133, allocations: 11.92 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.005148, allocations: 0 / 0.8422 GB, free: 10.39 MB / 0.8073 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.559e-05/0.005214, allocations: 108.7 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.005233, allocations: 7.938 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.652e-05/0.00531, allocations: 49.67 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005312, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.005314, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005316, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.137e-05/0.005408, allocations: 81.81 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005409, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.005441, allocations: 11.98 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.005442, allocations: 0 / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.005447, allocations: 0 / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.00545, allocations: 3.938 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00545, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.917e-05/0.00554, allocations: 143.5 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.005548, allocations: 3.953 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.005556, allocations: 0 / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.005594, allocations: 11.94 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.005629, allocations: 12.41 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.005635, allocations: 4 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.63e-05/0.005651, allocations: 16.84 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005651, allocations: 0 / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001241/0.005775, allocations: 8 kB / 0.8426 GB, free: 9.879 MB / 0.8073 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.707e-05/0.005862, allocations: 80.36 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.005947, allocations: 75.5 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.005949, allocations: 0 / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.005968, allocations: 16.86 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.006104, allocations: 4 kB / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.006351, allocations: 154.1 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.006387, allocations: 63.34 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.006409, allocations: 3.984 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.006464, allocations: 55.38 kB / 0.843 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.006464, allocations: 4 kB / 0.843 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of Templates: time 0.002355/0.008819, allocations: 0.7738 MB / 0.8438 GB, free: 8.605 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.383996967691928]