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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_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.001626/0.001626, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001723/0.001723, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 68.11 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 159.1 MB / 1.221 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003175/1.081, allocations: 1.535 MB / 1.222 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004645/1.082, allocations: 119.7 kB / 1.223 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/1.082, allocations: 4 kB / 1.223 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/1.082, allocations: 11.88 kB / 1.223 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/1.082, allocations: 7.938 kB / 1.223 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/1.082, allocations: 27.95 kB / 1.223 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/1.082, allocations: 55.77 kB / 1.223 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/1.082, allocations: 27.98 kB / 1.223 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/1.083, allocations: 23.92 kB / 1.223 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/1.083, allocations: 31.84 kB / 1.223 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/1.083, allocations: 4 kB / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-05/1.083, allocations: 8 kB / 1.223 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/1.083, allocations: 19.92 kB / 1.223 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/1.083, allocations: 27.86 kB / 1.223 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/1.083, allocations: 63.73 kB / 1.223 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.083, allocations: 0 / 1.223 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.103e-06/1.083, allocations: 0 / 1.223 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.799e-06/1.083, allocations: 4 kB / 1.223 GB, free: 0.5156 MB / 0.9356 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.000613/1.084, allocations: 383.6 kB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.084, allocations: 8.625 kB / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/1.084, allocations: 8.844 kB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/1.084, allocations: 180.3 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/1.084, allocations: 384 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/1.084, allocations: 4.375 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/1.084, allocations: 98.12 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/1.084, allocations: 192 / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.084, allocations: 3.938 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/1.084, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/1.085, allocations: 79.92 kB / 1.224 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/1.085, allocations: 332.5 kB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/1.086, allocations: 58.53 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/1.086, allocations: 44.91 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/1.086, allocations: 4 kB / 1.224 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.086, allocations: 34.56 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.644e-06/1.086, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005778/1.086, allocations: 137.6 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/1.086, allocations: 51.41 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/1.087, allocations: 121.8 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.087, allocations: 25.7 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/1.087, allocations: 92.05 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/1.087, allocations: 11.84 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/1.087, allocations: 21.64 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.087, allocations: 318.8 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/1.087, allocations: 39.95 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.087, allocations: 31.97 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/1.087, allocations: 76.98 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.088, allocations: 3.938 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003272/1.088, allocations: 109.5 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.088, allocations: 5.719 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.088, allocations: 0 / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.088, allocations: 0 / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/1.088, allocations: 23.97 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.088, allocations: 0 / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/1.088, allocations: 15.98 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/1.088, allocations: 0 / 1.225 GB, free: 14.02 MB / 0.9512 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 8.859e-05/1.088, allocations: 118.3 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/1.088, allocations: 7.906 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/1.089, allocations: 117.4 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.089, allocations: 4 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.089, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/1.089, allocations: 81.11 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/1.089, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.089, allocations: 19.91 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/1.089, allocations: 0 / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004166/1.089, allocations: 192.9 kB / 1.226 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000417/1.09, allocations: 278.6 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001609/1.09, allocations: 43.95 kB / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.107e-05/1.09, allocations: 91.66 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of Backend: time 3.91e-07/1.09, allocations: 0 / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000544/1.091, allocations: 118.3 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005748/1.091, allocations: 0.5844 MB / 1.227 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of Templates: time 0.003892/1.095, allocations: 0.9676 MB / 1.228 GB, free: 11.3 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches