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.001017/0.001017, 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.001209/0.001209, allocations: 169 kB / 23.02 MB, free: 1.547 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.9706/0.9706, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.042/2.042, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.783e-06/1.783e-06, allocations: 0 / 0.8782 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/3.844e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003184/0.003223, allocations: 1.596 MB / 0.8797 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.003655, allocations: 117.5 kB / 0.8798 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.003726, allocations: 3.938 kB / 0.8798 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.003914, allocations: 13.2 kB / 0.8799 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.003957, allocations: 11.86 kB / 0.8799 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.004267, allocations: 24.72 kB / 0.8799 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.004391, allocations: 59.78 kB / 0.88 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.004512, allocations: 16.89 kB / 0.88 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.004595, allocations: 31.95 kB / 0.88 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.004672, allocations: 25.03 kB / 0.88 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.004693, allocations: 4 kB / 0.88 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.004769, allocations: 19.92 kB / 0.88 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.004824, allocations: 13 kB / 0.8801 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.004864, allocations: 19.97 kB / 0.8801 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.005019, allocations: 47.83 kB / 0.8801 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.005021, allocations: 4.969 kB / 0.8801 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005022, allocations: 0 / 0.8801 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.005027, allocations: 0 / 0.8801 GB, free: 4.16 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.0004804/0.005508, allocations: 401.5 kB / 0.8805 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.00555, allocations: 12.03 kB / 0.8805 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.005603, allocations: 5.969 kB / 0.8805 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.005787, allocations: 136.4 kB / 0.8807 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.005801, allocations: 4.375 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.005814, allocations: 1.469 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.006029, allocations: 78.88 kB / 0.8807 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.006037, allocations: 0.9062 kB / 0.8807 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.006049, allocations: 384 / 0.8807 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.00606, allocations: 5.859 kB / 0.8807 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.006115, allocations: 11.94 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.006588, allocations: 299.7 kB / 0.881 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.00669, allocations: 36.39 kB / 0.8811 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.006731, allocations: 15.62 kB / 0.8811 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.006776, allocations: 5.094 kB / 0.8811 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.006804, allocations: 41.39 kB / 0.8811 GB, free: 3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.006806, allocations: 0 / 0.8811 GB, free: 3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002101/0.007016, allocations: 54.27 kB / 0.8812 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.007053, allocations: 51.41 kB / 0.8812 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.00716, allocations: 174.6 kB / 0.8814 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.007174, allocations: 27.17 kB / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.007238, allocations: 138.8 kB / 0.8816 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.007265, allocations: 15.89 kB / 0.8816 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.007305, allocations: 19.36 kB / 0.8816 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.00746, allocations: 0.4955 MB / 0.8821 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.007485, allocations: 0 / 0.8821 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.007506, allocations: 7.984 kB / 0.8821 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.007555, allocations: 19.97 kB / 0.8821 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007558, allocations: 0 / 0.8821 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001082/0.007666, allocations: 61.5 kB / 0.8822 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.007682, allocations: 4 kB / 0.8822 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007687, allocations: 0 / 0.8822 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.007701, allocations: 0 / 0.8822 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.007804, allocations: 9.188 kB / 0.8822 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.007809, allocations: 0 / 0.8822 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.007848, allocations: 11.98 kB / 0.8822 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.007868, allocations: 5.562 kB / 0.8822 GB, free: 1.848 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 7.866e-05/0.007946, allocations: 152.6 kB / 0.8823 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.00798, allocations: 11.89 kB / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.008118, allocations: 62.7 kB / 0.8824 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.008121, allocations: 0 / 0.8824 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.008125, allocations: 0 / 0.8824 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008128, allocations: 0 / 0.8824 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.008281, allocations: 132.6 kB / 0.8825 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.008285, allocations: 4 kB / 0.8825 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.008342, allocations: 4 kB / 0.8825 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.008348, allocations: 7.938 kB / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.008356, allocations: 0 / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008357, allocations: 0 / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.00836, allocations: 3.984 kB / 0.8826 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.008515, allocations: 191.9 kB / 0.8827 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.008527, allocations: 11.83 kB / 0.8828 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.008545, allocations: 0 / 0.8828 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.008616, allocations: 8 kB / 0.8828 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.008665, allocations: 11.98 kB / 0.8828 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.008672, allocations: 0 / 0.8828 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.008728, allocations: 131.2 kB / 0.8829 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008729, allocations: 3.938 kB / 0.8829 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002698/0.008998, allocations: 8 kB / 0.8829 GB, free: 1.047 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.0001485/0.009147, allocations: 103.2 kB / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.009261, allocations: 19.67 kB / 0.883 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009262, allocations: 0 / 0.883 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.009297, allocations: 23.62 kB / 0.883 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.009568, allocations: 10.81 kB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.00989, allocations: 157.9 kB / 0.8832 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.009929, allocations: 59.34 kB / 0.8833 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.009956, allocations: 4 kB / 0.8833 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.009984, allocations: 16.5 kB / 0.8833 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/0.009985, allocations: 4 kB / 0.8833 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of Templates: time 0.002681/0.01267, allocations: 0.8814 MB / 0.8841 GB, free: 15.71 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.17143074516207]