Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_11_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.001923/0.001923, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.001901/0.001901, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.655/1.655, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.939/2.939, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 65.31 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4092, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003384/0.4125, allocations: 1.541 MB / 1.264 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000553/0.4131, allocations: 115.7 kB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.4132, allocations: 4 kB / 1.264 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.4134, allocations: 7.875 kB / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.4135, allocations: 11.91 kB / 1.264 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.4139, allocations: 27.91 kB / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.414, allocations: 51.91 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.4142, allocations: 15.98 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4144, allocations: 27.92 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.4145, allocations: 35.83 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.4145, allocations: 11.94 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.4146, allocations: 11.98 kB / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.4147, allocations: 11.94 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.4147, allocations: 27.86 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.415, allocations: 63.67 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.415, allocations: 0 / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.415, allocations: 0 / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.415, allocations: 0 / 1.264 GB, free: 10.98 MB / 0.9825 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.0008337/0.4158, allocations: 383.2 kB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.4159, allocations: 12.03 kB / 1.264 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.4159, allocations: 8.891 kB / 1.264 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4162, allocations: 184.2 kB / 1.265 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4162, allocations: 8.375 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.4162, allocations: 384 / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.4166, allocations: 90.14 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4166, allocations: 192 / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4166, allocations: 3.938 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4166, allocations: 8 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.417, allocations: 79.91 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.4177, allocations: 328.6 kB / 1.265 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.4179, allocations: 58.53 kB / 1.265 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.4181, allocations: 36.92 kB / 1.265 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.4181, allocations: 7.984 kB / 1.265 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4182, allocations: 30.56 kB / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.4182, allocations: 4 kB / 1.265 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006221/0.4188, allocations: 137.6 kB / 1.265 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.4188, allocations: 51.41 kB / 1.265 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.419, allocations: 113.8 kB / 1.265 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.419, allocations: 29.7 kB / 1.265 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.4191, allocations: 96.08 kB / 1.266 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.4191, allocations: 7.953 kB / 1.266 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.4191, allocations: 17.72 kB / 1.266 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4193, allocations: 318.8 kB / 1.266 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.4195, allocations: 31.97 kB / 1.266 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4196, allocations: 35.95 kB / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.4199, allocations: 80.72 kB / 1.266 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4199, allocations: 3.938 kB / 1.266 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003764/0.4203, allocations: 109.8 kB / 1.266 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4203, allocations: 7.938 kB / 1.266 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4203, allocations: 48 / 1.266 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.4204, allocations: 3.984 kB / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4205, allocations: 15.98 kB / 1.266 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4205, allocations: 0 / 1.266 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.4206, allocations: 15.92 kB / 1.266 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.4207, allocations: 4 kB / 1.266 GB, free: 8.477 MB / 0.9825 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.0001325/0.4208, allocations: 126.6 kB / 1.266 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.4208, allocations: 3.953 kB / 1.266 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.4212, allocations: 113.5 kB / 1.266 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4212, allocations: 0 / 1.266 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4212, allocations: 3.984 kB / 1.266 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.4213, allocations: 81.11 kB / 1.267 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4213, allocations: 0 / 1.267 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4215, allocations: 23.92 kB / 1.267 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.4215, allocations: 0 / 1.267 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004771/0.422, allocations: 188.9 kB / 1.267 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004543/0.4225, allocations: 282.6 kB / 1.267 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001639/0.4226, allocations: 35.95 kB / 1.267 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.963e-05/0.4227, allocations: 91.7 kB / 1.267 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of Backend: time 7.91e-07/0.4227, allocations: 0 / 1.267 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.4233, allocations: 124.7 kB / 1.267 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007967/0.4241, allocations: 0.5959 MB / 1.268 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of Templates: time 0.004274/0.4284, allocations: 0.9758 MB / 1.269 GB, free: 5.738 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches