Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002396/0.002396, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002761/0.002761, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.039/3.039, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.788e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002924/0.002952, allocations: 1.566 MB / 0.8123 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.003287, allocations: 111.7 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.003332, allocations: 3.938 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.003444, allocations: 3.938 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.503e-05/0.003479, allocations: 17.42 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.003719, allocations: 27.95 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.003824, allocations: 55.78 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.003921, allocations: 17.58 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.207e-05/0.004003, allocations: 31.95 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.004077, allocations: 31.91 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.004098, allocations: 4 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.732e-05/0.004155, allocations: 8 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.004197, allocations: 13.64 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.004234, allocations: 19.92 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.00438, allocations: 63.72 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004382, allocations: 4 kB / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004383, allocations: 0.6562 kB / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.004386, allocations: 0 / 0.8127 GB, free: 132 kB / 0.7605 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.0005773/0.004964, allocations: 397.2 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.005, allocations: 8.031 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.005049, allocations: 14.05 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.005233, allocations: 128.5 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.005243, allocations: 384 / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.00526, allocations: 9.75 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.005474, allocations: 70.09 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.005482, allocations: 192 / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.005494, allocations: 6.125 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.0055, allocations: 4.359 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.005716, allocations: 43.91 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.006233, allocations: 316.8 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.006391, allocations: 51.03 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.006509, allocations: 36.7 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.006554, allocations: 5.875 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.00659, allocations: 33.39 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.006591, allocations: 0 / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006098/0.0072, allocations: 100.2 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.007245, allocations: 51.41 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.007393, allocations: 181.9 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.007416, allocations: 25.7 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.007515, allocations: 142.8 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.00754, allocations: 11.91 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.007585, allocations: 19.38 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.007856, allocations: 0.493 MB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.007953, allocations: 20.52 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.00804, allocations: 21.14 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.008214, allocations: 47.59 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008215, allocations: 0.6875 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002404/0.008456, allocations: 78.27 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.008471, allocations: 15.42 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.008474, allocations: 0 / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.008486, allocations: 1.906 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.008576, allocations: 8 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.00858, allocations: 0 / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.008636, allocations: 11.92 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.008654, allocations: 4 kB / 0.815 GB, free: 13.62 MB / 0.7761 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 0.0001185/0.008772, allocations: 157.3 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.008806, allocations: 14.27 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.009075, allocations: 85.58 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.009083, allocations: 4 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.009086, allocations: 0 / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.009088, allocations: 0 / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.009268, allocations: 134.5 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009269, allocations: 0 / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.009344, allocations: 15.98 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.009349, allocations: 3.938 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.009356, allocations: 0 / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.009358, allocations: 1.125 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009359, allocations: 384 / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.009692, allocations: 236.8 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.009702, allocations: 3.938 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.009715, allocations: 0.875 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.009795, allocations: 7.984 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.009839, allocations: 9.781 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.009846, allocations: 0 / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.013e-05/0.009936, allocations: 135.2 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009936, allocations: 0 / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00022/0.01016, allocations: 15.95 kB / 0.8158 GB, free: 12.75 MB / 0.7761 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.0001396/0.0103, allocations: 100.6 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.01054, allocations: 52.38 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01054, allocations: 0 / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.01066, allocations: 40.2 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.0109, allocations: 11.67 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.01127, allocations: 161.9 kB / 0.8161 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.01136, allocations: 83.19 kB / 0.8162 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.01139, allocations: 0 / 0.8162 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.01143, allocations: 12.5 kB / 0.8162 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of SimCode: time 4.3e-07/0.01143, allocations: 0 / 0.8162 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.00377/0.0152, allocations: 0.8146 MB / 0.817 GB, free: 11.44 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.17070397909265]