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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 110 kB / 18.93 MB, free: 2.945 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.001945/0.001945, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.516/1.516, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average")
translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 1.11 GB, free: 6.301 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7876/0.7896, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002958/0.7926, allocations: 1.57 MB / 1.276 GB, free: 2.605 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0003648/0.793, allocations: 107.7 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.793, allocations: 7.938 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.7932, allocations: 3.938 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 2.761e-05/0.7932, allocations: 11.86 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.7934, allocations: 35.95 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001084/0.7935, allocations: 55.78 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.7937, allocations: 15.98 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.7937, allocations: 27.91 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.7938, allocations: 27.91 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.7938, allocations: 8 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.7939, allocations: 8 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.7939, allocations: 19.92 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.794, allocations: 23.86 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.7941, allocations: 59.45 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.7941, allocations: 4 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.252e-06/0.7941, allocations: 0 / 1.276 GB, free: 2.199 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.169e-06/0.7941, allocations: 0 / 1.276 GB, free: 2.199 MB / 0.9669 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.000609/0.7947, allocations: 308.8 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.7948, allocations: 8.031 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.7948, allocations: 12.89 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.795, allocations: 126.4 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.795, allocations: 4.375 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.795, allocations: 8.375 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.7954, allocations: 90.14 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7954, allocations: 192 / 1.277 GB, free: 1.594 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.7954, allocations: 3.938 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.7954, allocations: 0 / 1.277 GB, free: 1.59 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.7957, allocations: 87.84 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.7964, allocations: 291.8 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.7966, allocations: 62.56 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.7968, allocations: 40.92 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.7968, allocations: 0 / 1.277 GB, free: 1.062 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.7968, allocations: 34.55 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.7968, allocations: 0 / 1.277 GB, free: 1.02 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0006173/0.7974, allocations: 141.6 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.7975, allocations: 51.41 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.7976, allocations: 113.8 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.7976, allocations: 29.7 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.7977, allocations: 100 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.7977, allocations: 3.953 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.7977, allocations: 21.66 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001426/0.7979, allocations: 322.8 kB / 1.278 GB, free: 204 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.7981, allocations: 31.97 kB / 1.278 GB, free: 172 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.7982, allocations: 35.95 kB / 1.278 GB, free: 136 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.7985, allocations: 77.06 kB / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7985, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003778/0.7989, allocations: 109.5 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7989, allocations: 4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7989, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7989, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.7991, allocations: 19.92 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7991, allocations: 4 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.7991, allocations: 11.98 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.7992, allocations: 0 / 1.278 GB, free: 15.9 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.0001084/0.7993, allocations: 121.8 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.7993, allocations: 7.953 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.7997, allocations: 113.6 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.7997, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7998, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7998, allocations: 3.984 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.8, allocations: 156.7 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.8001, allocations: 19.97 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8001, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.8001, allocations: 7.875 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8001, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8001, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.8005, allocations: 203.4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.8005, allocations: 4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.8006, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.8007, allocations: 15.98 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.8007, allocations: 11.92 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.8007, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.902e-05/0.8008, allocations: 91.27 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.8008, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002318/0.801, allocations: 11.94 kB / 1.279 GB, free: 15.06 MB / 0.9825 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.0001944/0.8012, allocations: 99.19 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004098/0.8016, allocations: 87.84 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8016, allocations: 0 / 1.279 GB, free: 14.87 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.8018, allocations: 31.97 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.8021, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.8026, allocations: 165.4 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.8029, allocations: 0.6885 MB / 1.28 GB, free: 13.93 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 4.484e-05/0.803, allocations: 4 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.803, allocations: 11.44 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.31e-07/0.803, allocations: 0 / 1.28 GB, free: 13.92 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003688/0.8067, allocations: 0.7887 MB / 1.281 GB, free: 13.14 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300]
(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) [Timeout 400]
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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.69383926037699]