Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 112.3 kB / 16.42 MB, free: 6.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 183.9 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 59.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003665/1.186, allocations: 1.541 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000527/1.186, allocations: 104.6 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/1.187, allocations: 3.938 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/1.187, allocations: 7.922 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/1.187, allocations: 11.92 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/1.187, allocations: 39.91 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/1.187, allocations: 51.83 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/1.188, allocations: 23.94 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/1.188, allocations: 27.91 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/1.188, allocations: 27.91 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/1.188, allocations: 8 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/1.188, allocations: 15.92 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/1.188, allocations: 19.92 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/1.188, allocations: 23.88 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/1.188, allocations: 60.3 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.188e-05/1.188, allocations: 3.984 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.226e-06/1.188, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.188, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 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.0007302/1.189, allocations: 379.2 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/1.189, allocations: 12.86 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/1.189, allocations: 12.88 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.189, allocations: 180.3 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/1.189, allocations: 8.312 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/1.189, allocations: 4.375 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/1.19, allocations: 86.2 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.19, allocations: 192 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/1.19, allocations: 7.938 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.19, allocations: 0 / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/1.19, allocations: 83.91 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/1.191, allocations: 324.7 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/1.191, allocations: 58.53 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/1.191, allocations: 44.94 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/1.191, allocations: 4 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.192, allocations: 34.56 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/1.192, allocations: 4 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006066/1.192, allocations: 129.6 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.192, allocations: 51.41 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.192, allocations: 117.8 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/1.192, allocations: 29.7 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/1.192, allocations: 100 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/1.192, allocations: 3.953 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/1.192, allocations: 17.72 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.193, allocations: 318.8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.193, allocations: 35.97 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/1.193, allocations: 43.89 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/1.193, allocations: 73 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.193, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003757/1.194, allocations: 117.5 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.194, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.194, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.194, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/1.194, allocations: 15.98 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.194, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/1.194, allocations: 15.98 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/1.194, allocations: 3.984 kB / 1.171 GB, free: 15.42 MB / 0.9044 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.0001103/1.194, allocations: 121.7 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/1.194, allocations: 7.953 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/1.195, allocations: 113.5 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.195, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.195, allocations: 4 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/1.195, allocations: 81.11 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/1.195, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/1.195, allocations: 15.92 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/1.195, allocations: 3.984 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004809/1.195, allocations: 192.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004948/1.196, allocations: 278.7 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001655/1.196, allocations: 31.97 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.838e-05/1.196, allocations: 95.27 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of Backend: time 3.3e-07/1.196, allocations: 4 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000565/1.197, allocations: 118.3 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006517/1.197, allocations: 0.5959 MB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.004849/1.202, allocations: 0.9691 MB / 1.174 GB, free: 12.7 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches