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.001225/0.001225, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001313/0.001313, allocations: 169 kB / 23.02 MB, free: 1.551 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.9642/0.9642, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.127/2.127, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 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 1.553e-06/1.553e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.057e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002072/0.002102, allocations: 1.609 MB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003174/0.00242, allocations: 108.4 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.002468, allocations: 3.938 kB / 0.8798 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.002607, allocations: 8.469 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.002635, allocations: 15.95 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.00289, allocations: 23.97 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.62e-05/0.002976, allocations: 59.81 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.003073, allocations: 15.98 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.003129, allocations: 27.92 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.003186, allocations: 28.97 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.003203, allocations: 4 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.003263, allocations: 17.05 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.003302, allocations: 19.91 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.00333, allocations: 15.94 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003451, allocations: 56.81 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.003455, allocations: 3.984 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003457, allocations: 0 / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003461, allocations: 1.094 kB / 0.8801 GB, free: 4.312 MB / 0.8386 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.0003803/0.003841, allocations: 392.4 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.003876, allocations: 9 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.003914, allocations: 8.938 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004046, allocations: 128.5 kB / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.004055, allocations: 2.844 kB / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.00407, allocations: 8.375 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.004229, allocations: 74.86 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.004239, allocations: 192 / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.00425, allocations: 4.375 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.004258, allocations: 384 / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.004296, allocations: 14 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.004635, allocations: 307.6 kB / 0.881 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.004708, allocations: 31.06 kB / 0.8811 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.004735, allocations: 15.62 kB / 0.8811 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.004771, allocations: 8.797 kB / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.004792, allocations: 39.05 kB / 0.8811 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.004794, allocations: 0 / 0.8811 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.004951, allocations: 57.67 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.004977, allocations: 51.41 kB / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.005054, allocations: 169.9 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.005198, allocations: 26.2 kB / 0.8814 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.005246, allocations: 148.7 kB / 0.8816 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.005264, allocations: 7.891 kB / 0.8816 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.005293, allocations: 19.38 kB / 0.8816 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.005399, allocations: 0.4923 MB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.005417, allocations: 0 / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.005432, allocations: 5.188 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.479e-05/0.005466, allocations: 19.62 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005469, allocations: 0 / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.946e-05/0.005538, allocations: 55.17 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.005552, allocations: 10.19 kB / 0.8822 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005557, allocations: 0 / 0.8822 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.005571, allocations: 0 / 0.8822 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.005647, allocations: 15.98 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.005653, allocations: 4 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.005677, allocations: 4.328 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.005693, allocations: 0 / 0.8822 GB, free: 2.02 MB / 0.8386 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 5.986e-05/0.005752, allocations: 160.6 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.005771, allocations: 11.89 kB / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.005874, allocations: 57.61 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005877, allocations: 3.984 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.00588, allocations: 4 kB / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.005882, allocations: 0 / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.005983, allocations: 136.5 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005984, allocations: 0 / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.006018, allocations: 11.98 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.00602, allocations: 3.938 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.006027, allocations: 0 / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.006029, allocations: 4 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00603, allocations: 0 / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.006133, allocations: 191.9 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.006142, allocations: 11.89 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.006152, allocations: 0 / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.006191, allocations: 11.98 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.006231, allocations: 4 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.006238, allocations: 4 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.006277, allocations: 135.5 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006277, allocations: 0 / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001526/0.00643, allocations: 12 kB / 0.8829 GB, free: 1.199 MB / 0.8386 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.0001124/0.006542, allocations: 103.2 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.006632, allocations: 15.69 kB / 0.883 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006633, allocations: 0 / 0.883 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.006658, allocations: 19.61 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.006855, allocations: 12 kB / 0.8831 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.007138, allocations: 157.9 kB / 0.8832 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.007176, allocations: 63.34 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.007203, allocations: 7.984 kB / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.00723, allocations: 12.5 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.007231, allocations: 0 / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of Templates: time 0.002604/0.009835, allocations: 0.823 MB / 0.8841 GB, free: 15.93 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.482834906782955]