Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.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.001471/0.001471, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001881/0.001881, allocations: 192.6 kB / 22.11 MB, free: 4.223 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.657/1.657, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.968/2.968, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.88 kB / 1.137 GB, free: 12.16 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.194, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001798/1.196, allocations: 0.7086 MB / 1.307 GB, free: 33.33 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0007646/1.197, allocations: 0.8054 MB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/1.197, allocations: 0 / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.765e-05/1.197, allocations: 6.469 kB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 6.814e-05/1.197, allocations: 11.16 kB / 1.308 GB, free: 32.71 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 5.924e-05/1.197, allocations: 14.11 kB / 1.308 GB, free: 32.7 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 8.919e-05/1.197, allocations: 41.89 kB / 1.308 GB, free: 32.68 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/1.197, allocations: 6.906 kB / 1.308 GB, free: 32.68 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/1.197, allocations: 28.17 kB / 1.308 GB, free: 32.66 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/1.197, allocations: 21.69 kB / 1.308 GB, free: 32.65 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 3.86e-05/1.197, allocations: 5.844 kB / 1.308 GB, free: 32.65 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/1.197, allocations: 3.062 kB / 1.308 GB, free: 32.65 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.217e-05/1.197, allocations: 11.92 kB / 1.308 GB, free: 32.64 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 3.407e-05/1.197, allocations: 20.84 kB / 1.308 GB, free: 32.63 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 9.279e-05/1.197, allocations: 38.33 kB / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.197, allocations: 2.875 kB / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.174e-06/1.197, allocations: 0 / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.835e-06/1.197, allocations: 0 / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0005097/1.198, allocations: 289.9 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.198, allocations: 8.656 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/1.198, allocations: 11.83 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.719e-05/1.198, allocations: 109.4 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/1.198, allocations: 3.188 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/1.198, allocations: 384 / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/1.198, allocations: 74.08 kB / 1.309 GB, free: 32.16 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.198, allocations: 4.125 kB / 1.309 GB, free: 32.16 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.198, allocations: 3.938 kB / 1.309 GB, free: 32.15 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.198, allocations: 0 / 1.309 GB, free: 32.15 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/1.199, allocations: 65.2 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/1.199, allocations: 238.3 kB / 1.309 GB, free: 31.9 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/1.199, allocations: 58.22 kB / 1.309 GB, free: 31.86 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/1.199, allocations: 35.5 kB / 1.309 GB, free: 31.85 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/1.199, allocations: 6.688 kB / 1.309 GB, free: 31.85 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/1.199, allocations: 34.56 kB / 1.309 GB, free: 31.8 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.199, allocations: 4 kB / 1.309 GB, free: 31.8 MB / 1.061 GB
Notification: Performance of matching and sorting (n=3): time 0.0005113/1.2, allocations: 126.6 kB / 1.31 GB, free: 31.76 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/1.2, allocations: 51.41 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/1.2, allocations: 109.2 kB / 1.31 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.049e-05/1.2, allocations: 32.39 kB / 1.31 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/1.2, allocations: 84.14 kB / 1.31 GB, free: 31.47 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/1.2, allocations: 14.75 kB / 1.31 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/1.2, allocations: 19.89 kB / 1.31 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.956e-05/1.2, allocations: 310.8 kB / 1.31 GB, free: 31.12 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/1.2, allocations: 34.59 kB / 1.31 GB, free: 31.12 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/1.2, allocations: 37.83 kB / 1.31 GB, free: 31.11 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/1.2, allocations: 67.67 kB / 1.31 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.2, allocations: 7.875 kB / 1.31 GB, free: 31.08 MB / 1.061 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003005/1.201, allocations: 101.5 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.201, allocations: 3.25 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.201, allocations: 2.938 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.201, allocations: 0 / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/1.201, allocations: 12.2 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.201, allocations: 0 / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/1.201, allocations: 19.62 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/1.201, allocations: 3.938 kB / 1.31 GB, free: 31.03 MB / 1.061 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 7.732e-05/1.201, allocations: 124.9 kB / 1.31 GB, free: 30.9 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/1.201, allocations: 3.938 kB / 1.311 GB, free: 30.9 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/1.201, allocations: 10.97 kB / 1.311 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.201, allocations: 0 / 1.311 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.201, allocations: 3.328 kB / 1.311 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.201, allocations: 0 / 1.311 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.201, allocations: 139.9 kB / 1.311 GB, free: 30.72 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.201, allocations: 4 kB / 1.311 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/1.201, allocations: 18.45 kB / 1.311 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.201, allocations: 4 kB / 1.311 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.201, allocations: 0 / 1.311 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.201, allocations: 0 / 1.311 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.201, allocations: 0 / 1.311 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/1.202, allocations: 195.4 kB / 1.311 GB, free: 30.57 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/1.202, allocations: 14.84 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/1.202, allocations: 0 / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/1.202, allocations: 11.94 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/1.202, allocations: 3.234 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/1.202, allocations: 3 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.426e-05/1.202, allocations: 88.28 kB / 1.311 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/1.202, allocations: 0 / 1.311 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002232/1.202, allocations: 5.688 kB / 1.311 GB, free: 30.48 MB / 1.061 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.0001304/1.202, allocations: 97.81 kB / 1.311 GB, free: 30.39 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0003702/1.203, allocations: 66.72 kB / 1.311 GB, free: 30.38 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.203, allocations: 0 / 1.311 GB, free: 30.38 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.000151/1.203, allocations: 38.38 kB / 1.311 GB, free: 30.37 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/1.203, allocations: 19.77 kB / 1.311 GB, free: 30.36 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/1.204, allocations: 124.5 kB / 1.311 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/1.204, allocations: 0.6807 MB / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 4.267e-05/1.204, allocations: 7.266 kB / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/1.204, allocations: 10.31 kB / 1.312 GB, free: 29.53 MB / 1.061 GB
Notification: Performance of SimCode: time 1.213e-06/1.204, allocations: 4 kB / 1.312 GB, free: 29.53 MB / 1.061 GB
Notification: Performance of Templates: time 0.003798/1.208, allocations: 0.6938 MB / 1.313 GB, free: 29.45 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.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.162891020998359]