Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001998/0.001998, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001839/0.001839, allocations: 192 kB / 22.11 MB, free: 5.156 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.515/1.515, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.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 3.444/3.444, allocations: 495.8 MB / 0.783 GB, free: 33.45 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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater")
translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 64.8 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 173.6 MB / 1.307 GB, free: 1.902 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002714/0.3552, allocations: 1.402 MB / 1.308 GB, free: 500 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.004238/0.3594, allocations: 2.94 MB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.3595, allocations: 3.938 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 9.343e-05/0.3596, allocations: 3.984 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3597, allocations: 43.81 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.3603, allocations: 191.1 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003009/0.3606, allocations: 243.5 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.3607, allocations: 7.938 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3608, allocations: 95.8 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.361, allocations: 127.7 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.361, allocations: 12 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.3614, allocations: 147.8 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3616, allocations: 91.75 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.3617, allocations: 91.59 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.3621, allocations: 275.1 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3621, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.502e-06/0.3621, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.212e-05/0.3621, allocations: 4 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 37
 * Number of variables: 37
Notification: Performance of Generate backend data structure: time 0.0009015/0.363, allocations: 469.1 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3631, allocations: 8.031 kB / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3632, allocations: 24.84 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3635, allocations: 178.3 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.3635, allocations: 24.36 kB / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.3636, allocations: 16.38 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.3642, allocations: 285.3 kB / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3642, allocations: 0 / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.3643, allocations: 11.98 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3643, allocations: 8 kB / 1.313 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.3658, allocations: 0.749 MB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.3662, allocations: 276.4 kB / 1.314 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.3678, allocations: 0.6298 MB / 1.315 GB, free: 9.449 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.3683, allocations: 217.3 kB / 1.315 GB, free: 9.234 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.3686, allocations: 83.67 kB / 1.315 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3686, allocations: 42.5 kB / 1.315 GB, free: 9.102 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=37): time 3.927e-06/0.3686, allocations: 7.984 kB / 1.315 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of matching and sorting (n=37): time 0.00165/0.3703, allocations: 0.6518 MB / 1.316 GB, free: 8.438 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3703, allocations: 59.16 kB / 1.316 GB, free: 8.367 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3705, allocations: 129.7 kB / 1.316 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.3705, allocations: 33.7 kB / 1.316 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.3706, allocations: 88.8 kB / 1.316 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.3707, allocations: 134.9 kB / 1.316 GB, free: 7.973 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3708, allocations: 61.69 kB / 1.316 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001621/0.371, allocations: 326.8 kB / 1.317 GB, free: 7.578 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.3715, allocations: 191.8 kB / 1.317 GB, free: 7.391 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.372, allocations: 207.9 kB / 1.317 GB, free: 7.188 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.3728, allocations: 364.9 kB / 1.317 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3728, allocations: 3.938 kB / 1.317 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.001072/0.3739, allocations: 468.6 kB / 1.318 GB, free: 6.359 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3739, allocations: 4 kB / 1.318 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3739, allocations: 0 / 1.318 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.374, allocations: 4 kB / 1.318 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.3743, allocations: 103.8 kB / 1.318 GB, free: 6.25 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.3743, allocations: 0 / 1.318 GB, free: 6.25 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.3745, allocations: 55.73 kB / 1.318 GB, free: 6.195 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.3746, allocations: 11.98 kB / 1.318 GB, free: 6.184 MB / 1.014 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 (37):
 * Single equations (assignments): 37
 * 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.0001673/0.3747, allocations: 145.7 kB / 1.318 GB, free: 6.031 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.3748, allocations: 23.84 kB / 1.318 GB, free: 6.008 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3761, allocations: 0.5139 MB / 1.319 GB, free: 5.488 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3761, allocations: 4 kB / 1.319 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3761, allocations: 0 / 1.319 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3761, allocations: 0 / 1.319 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.3765, allocations: 276.5 kB / 1.319 GB, free: 5.172 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3765, allocations: 4 kB / 1.319 GB, free: 5.168 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.3768, allocations: 103.8 kB / 1.319 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3768, allocations: 0 / 1.319 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.3769, allocations: 11.98 kB / 1.319 GB, free: 5.055 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3769, allocations: 4 kB / 1.319 GB, free: 5.051 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3769, allocations: 0 / 1.319 GB, free: 5.051 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3779, allocations: 0.4926 MB / 1.319 GB, free: 4.539 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.378, allocations: 27.72 kB / 1.32 GB, free: 4.512 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.378, allocations: 8 kB / 1.32 GB, free: 4.504 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3782, allocations: 31.97 kB / 1.32 GB, free: 4.473 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.3785, allocations: 127.8 kB / 1.32 GB, free: 4.348 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.3785, allocations: 11.98 kB / 1.32 GB, free: 4.336 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.081e-05/0.3786, allocations: 99.27 kB / 1.32 GB, free: 4.238 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3786, allocations: 0 / 1.32 GB, free: 4.238 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004406/0.379, allocations: 123.7 kB / 1.32 GB, free: 4.117 MB / 1.014 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 (37):
 * Single equations (assignments): 37
 * 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.0003881/0.3794, allocations: 197.1 kB / 1.32 GB, free: 3.918 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001104/0.3805, allocations: 455.3 kB / 1.321 GB, free: 3.473 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3805, allocations: 0 / 1.321 GB, free: 3.473 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.381, allocations: 236.6 kB / 1.321 GB, free: 3.242 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3815, allocations: 83.44 kB / 1.321 GB, free: 3.164 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.3823, allocations: 431.6 kB / 1.321 GB, free: 2.711 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.3829, allocations: 0.7328 MB / 1.322 GB, free: 1.953 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000418/0.3834, allocations: 191.6 kB / 1.322 GB, free: 1.773 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3835, allocations: 39.41 kB / 1.322 GB, free: 1.734 MB / 1.014 GB
Notification: Performance of SimCode: time 5.41e-07/0.3835, allocations: 0 / 1.322 GB, free: 1.734 MB / 1.014 GB
Notification: Performance of Templates: time 0.0125/0.396, allocations: 5.533 MB / 1.328 GB, free: 12.27 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.968688887543976]