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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 187 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 251 MB, free: 13.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 60.09 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8066/0.8086, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003526/0.8122, allocations: 1.563 MB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000404/0.8126, allocations: 109.1 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.8126, allocations: 1.156 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.8128, allocations: 9.125 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.8128, allocations: 9.109 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.8131, allocations: 27.59 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.8132, allocations: 62.64 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.8133, allocations: 15.02 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.8134, allocations: 29.45 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.8135, allocations: 38.14 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.8135, allocations: 3.75 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.8136, allocations: 11.78 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.8137, allocations: 16.98 kB / 1.22 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.8137, allocations: 25.23 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.8139, allocations: 63.48 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8139, allocations: 1.312 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8139, allocations: 0 / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.8139, allocations: 0 / 1.22 GB, free: 2.195 MB / 0.92 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.0006627/0.8146, allocations: 390.1 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8146, allocations: 10.28 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.8147, allocations: 8.078 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.8149, allocations: 183.5 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.8149, allocations: 1.344 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.8149, allocations: 7.281 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.8152, allocations: 93.12 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8153, allocations: 4.188 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.8153, allocations: 9.031 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.8153, allocations: 1.125 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.8156, allocations: 73.2 kB / 1.221 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.8162, allocations: 335.3 kB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.8164, allocations: 49.58 kB / 1.222 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.8166, allocations: 44.56 kB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.8166, allocations: 1.375 kB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.8166, allocations: 35.91 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8166, allocations: 0 / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005685/0.8172, allocations: 134.8 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.8173, allocations: 55.39 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.8174, allocations: 119.4 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.8174, allocations: 26.98 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.8175, allocations: 102.7 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.8175, allocations: 9.281 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.8175, allocations: 12.31 kB / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8177, allocations: 321.1 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.8178, allocations: 33.64 kB / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.8179, allocations: 39.41 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.8182, allocations: 74.27 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8182, allocations: 0 / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003298/0.8185, allocations: 117.1 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.8186, allocations: 5.375 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.8186, allocations: 0 / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8186, allocations: 0 / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.8187, allocations: 18.88 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.8187, allocations: 0 / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.8188, allocations: 11.2 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.8188, allocations: 1.875 kB / 1.223 GB, free: 132 kB / 0.92 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 9.84e-05/0.8189, allocations: 124.9 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.819, allocations: 6.422 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.8193, allocations: 116.7 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8193, allocations: 1.062 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8194, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8194, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.8196, allocations: 186.9 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8196, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.8197, allocations: 18 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8197, allocations: 1.062 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.8197, allocations: 1.125 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8197, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8197, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.8201, allocations: 211.9 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.8201, allocations: 82.16 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.8201, allocations: 1.062 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.8203, allocations: 11.14 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.8203, allocations: 5.109 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.8203, allocations: 1.125 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.147e-05/0.8204, allocations: 99.8 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8204, allocations: 0.9375 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002456/0.8206, allocations: 20.47 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001503/0.8208, allocations: 101.8 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.8211, allocations: 71.7 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8211, allocations: 4 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.8213, allocations: 43.33 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.8216, allocations: 7.406 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.822, allocations: 147.5 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.8223, allocations: 0.689 MB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.8224, allocations: 12.45 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.8224, allocations: 9.625 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8224, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.003951/0.8264, allocations: 0.7853 MB / 1.225 GB, free: 13.9 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.572280754335225]