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.00139/0.00139, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001393/0.001393, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002/0.002, allocations: 75.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2997, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002985/0.3028, allocations: 1.535 MB / 1.177 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003625/0.3032, allocations: 120.5 kB / 1.177 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.3032, allocations: 0 / 1.177 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3034, allocations: 3.938 kB / 1.177 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.939e-05/0.3034, allocations: 11.88 kB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.3036, allocations: 27.95 kB / 1.178 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3038, allocations: 55.78 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3039, allocations: 27.97 kB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.304, allocations: 27.92 kB / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.304, allocations: 27.91 kB / 1.178 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3041, allocations: 4 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.3041, allocations: 8 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.3042, allocations: 19.92 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.3043, allocations: 23.86 kB / 1.178 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3044, allocations: 59.73 kB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3044, allocations: 4 kB / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3045, allocations: 0 / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3045, allocations: 0 / 1.178 GB, free: 3.902 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.0006092/0.3051, allocations: 391.1 kB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3051, allocations: 12.03 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3052, allocations: 4.891 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3054, allocations: 180.3 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3054, allocations: 8.375 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3054, allocations: 8.359 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.3057, allocations: 90.19 kB / 1.178 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3057, allocations: 192 / 1.178 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3058, allocations: 3.938 kB / 1.178 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3058, allocations: 4 kB / 1.178 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.3061, allocations: 83.86 kB / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.3067, allocations: 328.7 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3069, allocations: 62.56 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3071, allocations: 44.91 kB / 1.179 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3071, allocations: 3.938 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3072, allocations: 30.56 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3072, allocations: 0 / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005821/0.3078, allocations: 137.6 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3078, allocations: 55.41 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3079, allocations: 117.8 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.308, allocations: 29.64 kB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.308, allocations: 92.09 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.3081, allocations: 11.88 kB / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.3081, allocations: 17.72 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3083, allocations: 318.8 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3085, allocations: 35.95 kB / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.3086, allocations: 43.91 kB / 1.18 GB, free: 1.613 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.3089, allocations: 76.77 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.309, allocations: 0 / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003517/0.3093, allocations: 101.6 kB / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3093, allocations: 4 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3093, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3094, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3095, allocations: 23.91 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3095, allocations: 4 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.3096, allocations: 11.98 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3096, allocations: 4 kB / 1.18 GB, free: 1.383 MB / 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 8.587e-05/0.3097, allocations: 113.8 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3098, allocations: 7.953 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.3102, allocations: 117.5 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3102, allocations: 4.375 kB / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3102, allocations: 0 / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3102, allocations: 0 / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3104, allocations: 177.6 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3104, allocations: 0 / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3105, allocations: 23.91 kB / 1.18 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3105, allocations: 3.984 kB / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3106, allocations: 0 / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3106, allocations: 4 kB / 1.18 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3106, allocations: 0 / 1.18 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.311, allocations: 199.4 kB / 1.181 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.311, allocations: 85.06 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.311, allocations: 0 / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3112, allocations: 15.98 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3112, allocations: 4 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3112, allocations: 3.984 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.784e-05/0.3113, allocations: 95.22 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3113, allocations: 0 / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002328/0.3115, allocations: 8 kB / 1.181 GB, free: 440 kB / 0.92 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.0001594/0.3117, allocations: 107.1 kB / 1.181 GB, free: 324 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.3121, allocations: 83.86 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3121, allocations: 0 / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3123, allocations: 39.95 kB / 1.181 GB, free: 200 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3126, allocations: 8 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.313, allocations: 187 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3134, allocations: 0.6885 MB / 1.182 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3134, allocations: 11.42 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.244e-06/0.3134, allocations: 4 kB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.00266/0.3161, allocations: 0.9347 MB / 1.183 GB, free: 14.31 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.31381299905479]