Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001972/0.001972, 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.002107/0.002107, allocations: 187 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.529/1.529, 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.896/2.896, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 63.89 kB / 1.11 GB, free: 6.211 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.102, allocations: 168.8 MB / 1.274 GB, free: 4.102 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002208/1.104, allocations: 0.7082 MB / 1.275 GB, free: 3.395 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001087/1.105, allocations: 0.804 MB / 1.276 GB, free: 2.578 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/1.105, allocations: 4 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.31e-05/1.105, allocations: 7.938 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 7.731e-05/1.105, allocations: 3.938 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 7.336e-05/1.105, allocations: 11.98 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 9.831e-05/1.105, allocations: 35.92 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/1.105, allocations: 15.92 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/1.105, allocations: 27.91 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/1.105, allocations: 15.92 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.059e-05/1.105, allocations: 4 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/1.105, allocations: 4 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.405e-05/1.105, allocations: 15.92 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.533e-05/1.106, allocations: 15.94 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001153/1.106, allocations: 43.47 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.106, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.254e-06/1.106, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.761e-06/1.106, allocations: 0 / 1.276 GB, free: 2.379 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0006057/1.106, allocations: 292.9 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.106, allocations: 8.031 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/1.106, allocations: 12.89 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.106, allocations: 110.5 kB / 1.276 GB, free: 1.91 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.106, allocations: 4.375 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/1.107, allocations: 384 / 1.276 GB, free: 1.906 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/1.107, allocations: 70.16 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.107, allocations: 192 / 1.277 GB, free: 1.832 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/1.107, allocations: 7.938 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.107, allocations: 0 / 1.277 GB, free: 1.824 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/1.107, allocations: 71.92 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/1.107, allocations: 236 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/1.108, allocations: 58.47 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.108, allocations: 40.86 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/1.108, allocations: 0 / 1.277 GB, free: 1.371 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/1.108, allocations: 34.56 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 8.72e-07/1.108, allocations: 0 / 1.277 GB, free: 1.328 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0005326/1.108, allocations: 129.6 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.108, allocations: 55.41 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.109, allocations: 109.8 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 3.486e-05/1.109, allocations: 25.7 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/1.109, allocations: 88.14 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/1.109, allocations: 15.78 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/1.109, allocations: 21.7 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001526/1.109, allocations: 314.8 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/1.109, allocations: 31.91 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/1.109, allocations: 36.14 kB / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/1.109, allocations: 72.86 kB / 1.278 GB, free: 400 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.109, allocations: 3.938 kB / 1.278 GB, free: 396 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002913/1.11, allocations: 93.62 kB / 1.278 GB, free: 296 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.11, allocations: 8 kB / 1.278 GB, free: 288 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.11, allocations: 3.938 kB / 1.278 GB, free: 284 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.11, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/1.11, allocations: 15.98 kB / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.11, allocations: 7.938 kB / 1.278 GB, free: 260 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/1.11, allocations: 11.94 kB / 1.278 GB, free: 248 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/1.11, allocations: 11.98 kB / 1.278 GB, free: 236 kB / 0.9669 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.03e-05/1.11, allocations: 109.8 kB / 1.278 GB, free: 116 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/1.11, allocations: 4 kB / 1.278 GB, free: 112 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/1.11, allocations: 8 kB / 1.278 GB, free: 100 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.11, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.11, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.11, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/1.11, allocations: 140.7 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.11, allocations: 3.984 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/1.11, allocations: 15.98 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.11, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/1.11, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.11, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.11, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/1.111, allocations: 207.3 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/1.111, allocations: 3.984 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/1.111, allocations: 0 / 1.278 GB, free: 15.67 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/1.111, allocations: 11.98 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/1.111, allocations: 4 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/1.111, allocations: 8 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.796e-05/1.111, allocations: 87.27 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/1.111, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002145/1.111, allocations: 8 kB / 1.279 GB, free: 15.55 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.0001337/1.111, allocations: 91.25 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003443/1.112, allocations: 71.92 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.112, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001526/1.112, allocations: 43.89 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/1.112, allocations: 15.81 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/1.113, allocations: 121.6 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.113, allocations: 0.6844 MB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.448e-05/1.113, allocations: 7.938 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/1.113, allocations: 7.438 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.91e-07/1.113, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003485/1.117, allocations: 0.6952 MB / 1.28 GB, free: 13.77 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.453916269354522]