Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_9_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.00177/0.00177, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.001707/0.001707, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9463/0.9477, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002715/0.9504, allocations: 1.525 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.9508, allocations: 120.4 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.9509, allocations: 1 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.951, allocations: 10.91 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.726e-05/0.951, allocations: 9.641 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.9513, allocations: 30.2 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.9514, allocations: 52.3 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.9516, allocations: 24.41 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.9517, allocations: 30.75 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.9517, allocations: 27.5 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.9518, allocations: 4.438 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.9518, allocations: 13.66 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.9519, allocations: 15.14 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.9519, allocations: 27.72 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.9521, allocations: 61.62 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9521, allocations: 0 / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9521, allocations: 0.875 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9521, allocations: 0 / 1.091 GB, free: 4.25 MB / 0.8575 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.0005411/0.9527, allocations: 382.3 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.9527, allocations: 8.562 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.9528, allocations: 7.781 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.9529, allocations: 186.7 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.9529, allocations: 7.766 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.953, allocations: 7.188 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.9533, allocations: 89.08 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9533, allocations: 192 / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.9533, allocations: 12.94 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.9533, allocations: 1.406 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.9537, allocations: 79.17 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.9542, allocations: 328.9 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.9544, allocations: 61.42 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.9546, allocations: 39.23 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.9546, allocations: 7.062 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.9547, allocations: 39.56 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.9547, allocations: 0 / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005907/0.9553, allocations: 139 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.9553, allocations: 53.17 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.9554, allocations: 115.1 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.9554, allocations: 26.98 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.9554, allocations: 96.89 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.9555, allocations: 10.56 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.9555, allocations: 17.16 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.9556, allocations: 318.1 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.9557, allocations: 36.89 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.9559, allocations: 37.8 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.9562, allocations: 78.77 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9562, allocations: 0 / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003499/0.9566, allocations: 102.3 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9566, allocations: 6.297 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9566, allocations: 0 / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.9566, allocations: 0.75 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.9568, allocations: 16.67 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.9568, allocations: 0 / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.9569, allocations: 15.59 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.9569, allocations: 6.203 kB / 1.093 GB, free: 2.414 MB / 0.8575 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 6.666e-05/0.957, allocations: 119 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.957, allocations: 2.375 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.9574, allocations: 114.3 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.9574, allocations: 4.938 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9574, allocations: 0.5156 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.9575, allocations: 86.97 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.9575, allocations: 1.453 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.9576, allocations: 19.17 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.9577, allocations: 4.141 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004224/0.9581, allocations: 195.2 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003808/0.9585, allocations: 270.5 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000159/0.9587, allocations: 36.44 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.9587, allocations: 94.08 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of Backend: time 2.1e-07/0.9587, allocations: 0.9375 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.9592, allocations: 117.5 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004029/0.9596, allocations: 0.6003 MB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of Templates: time 0.003978/0.9636, allocations: 0.9604 MB / 1.095 GB, free: 0.9258 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches