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.001963/0.001963, allocations: 116.3 kB / 16.42 MB, free: 6.016 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.00233/0.00233, allocations: 191.7 kB / 17.35 MB, free: 5.629 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.584/1.584, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.902/2.902, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.83 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.144, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003935/1.148, allocations: 1.541 MB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005558/1.148, allocations: 119.7 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/1.148, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/1.149, allocations: 7.875 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/1.149, allocations: 11.92 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/1.149, allocations: 27.95 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/1.149, allocations: 63.72 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/1.15, allocations: 19.98 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.906e-05/1.15, allocations: 27.92 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/1.15, allocations: 31.91 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/1.15, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/1.15, allocations: 8 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/1.15, allocations: 19.91 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/1.15, allocations: 23.86 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/1.15, allocations: 63.75 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.15, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.827e-06/1.15, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.15, allocations: 0 / 1.21 GB, free: 11.84 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.000906/1.151, allocations: 385 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.323e-05/1.151, allocations: 8.031 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/1.151, allocations: 8.844 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/1.152, allocations: 188.2 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/1.152, allocations: 384 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/1.152, allocations: 8.375 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/1.152, allocations: 94.12 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.152, allocations: 4.188 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/1.152, allocations: 3.938 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.152, allocations: 0 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/1.153, allocations: 79.92 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/1.153, allocations: 328.6 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/1.154, allocations: 62.52 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/1.154, allocations: 36.92 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/1.154, allocations: 4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.154, allocations: 38.56 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/1.154, allocations: 0 / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006041/1.154, allocations: 145.5 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.155, allocations: 51.41 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.155, allocations: 117.8 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/1.155, allocations: 29.7 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/1.155, allocations: 88.05 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/1.155, allocations: 19.77 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/1.155, allocations: 17.72 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.155, allocations: 318.7 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/1.155, allocations: 35.95 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/1.155, allocations: 35.95 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/1.156, allocations: 76.78 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.156, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003203/1.156, allocations: 105.5 kB / 1.213 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.156, allocations: 10.03 kB / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.156, allocations: 0 / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.156, allocations: 0 / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/1.156, allocations: 19.97 kB / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.156, allocations: 0 / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/1.156, allocations: 11.98 kB / 1.213 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/1.156, allocations: 0 / 1.213 GB, free: 9.332 MB / 0.9356 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.0001038/1.156, allocations: 125.8 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/1.156, allocations: 0 / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/1.157, allocations: 113.5 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.157, allocations: 0 / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.157, allocations: 0 / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/1.157, allocations: 85.02 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/1.157, allocations: 11.98 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/1.157, allocations: 15.92 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/1.157, allocations: 0 / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003938/1.157, allocations: 189.2 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003888/1.158, allocations: 282.7 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001464/1.158, allocations: 35.95 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.92e-05/1.158, allocations: 91.27 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of Backend: time 4.21e-07/1.158, allocations: 4 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005986/1.159, allocations: 118.4 kB / 1.214 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000785/1.159, allocations: 0.5882 MB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.004082/1.164, allocations: 0.9981 MB / 1.215 GB, free: 6.578 MB / 0.9356 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