Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001446/0.001446, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001531/0.001531, allocations: 189.7 kB / 22.22 MB, free: 5.098 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.305/1.305, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.008/3.008, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial")
translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 60.61 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3114, allocations: 174.9 MB / 1.316 GB, free: 9.691 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0512/0.3626, allocations: 50.2 MB / 1.365 GB, free: 7.316 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.01941/0.382, allocations: 13.98 MB / 1.379 GB, free: 9.309 MB / 1.076 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.3843, allocations: 91.25 kB / 1.379 GB, free: 9.219 MB / 1.076 GB
Notification: Performance of NFTyping.typeComponents: time 0.002065/0.3863, allocations: 0.8382 MB / 1.38 GB, free: 8.375 MB / 1.076 GB
Notification: Performance of NFTyping.typeBindings: time 0.006015/0.3924, allocations: 2.391 MB / 1.382 GB, free: 5.973 MB / 1.076 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.3955, allocations: 1.376 MB / 1.383 GB, free: 4.605 MB / 1.076 GB
Notification: Performance of NFFlatten.flatten: time 0.02056/0.4161, allocations: 20.15 MB / 1.403 GB, free: 404 kB / 1.092 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.009274/0.4254, allocations: 6.451 MB / 1.409 GB, free: 9.816 MB / 1.107 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.4394, allocations: 6.886 MB / 1.416 GB, free: 2.953 MB / 1.107 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.4498, allocations: 5.961 MB / 1.422 GB, free: 12.96 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 0.002515/0.4524, allocations: 0.8438 MB / 1.423 GB, free: 12.12 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005702/0.4581, allocations: 1.647 MB / 1.424 GB, free: 10.48 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 0.003444/0.4615, allocations: 2.204 MB / 1.426 GB, free: 8.266 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 0.008003/0.4695, allocations: 4.303 MB / 1.431 GB, free: 3.945 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.01513/0.4846, allocations: 12.14 MB / 1.442 GB, free: 7.77 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4846, allocations: 0 / 1.442 GB, free: 7.77 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.803e-06/0.4846, allocations: 0 / 1.442 GB, free: 7.77 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 0.0003561/0.485, allocations: 0 / 1.442 GB, free: 7.77 MB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1414
 * Number of variables: 1414
Notification: Performance of Generate backend data structure: time 0.01767/0.5027, allocations: 7.85 MB / 1.45 GB, free: 15.85 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.5027, allocations: 8.031 kB / 1.45 GB, free: 15.84 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/0.5063, allocations: 0.8243 MB / 1.451 GB, free: 15.02 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.5203, allocations: 6.392 MB / 1.457 GB, free: 8.543 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004284/0.5207, allocations: 419.3 kB / 1.458 GB, free: 8.133 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.5226, allocations: 0.5467 MB / 1.458 GB, free: 7.586 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/0.5419, allocations: 8.069 MB / 1.466 GB, free: 15.28 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002351/0.5421, allocations: 19.88 kB / 1.466 GB, free: 15.26 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001569/0.5437, allocations: 232 kB / 1.466 GB, free: 15.03 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.5439, allocations: 167.9 kB / 1.466 GB, free: 14.87 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.5581, allocations: 6.524 MB / 1.473 GB, free: 8.332 MB / 1.17 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/0.6069, allocations: 31.21 MB / 1.503 GB, free: 7.277 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006096/0.613, allocations: 3.44 MB / 1.507 GB, free: 3.84 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/0.6171, allocations: 2.589 MB / 1.509 GB, free: 1.246 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.6178, allocations: 161.8 kB / 1.509 GB, free: 1.086 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.733e-05/0.6179, allocations: 72.67 kB / 1.509 GB, free: 1.004 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=267): time 4.378e-06/0.6179, allocations: 4 kB / 1.509 GB, free: 1 MB / 1.201 GB
Notification: Performance of matching and sorting (n=267): time 0.01135/0.6292, allocations: 5.622 MB / 1.515 GB, free: 11.32 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.6293, allocations: 77.52 kB / 1.515 GB, free: 11.23 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009865/0.6391, allocations: 5.255 MB / 1.52 GB, free: 5.973 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005242/0.6397, allocations: 77.7 kB / 1.52 GB, free: 5.891 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002848/0.6425, allocations: 2.926 MB / 1.523 GB, free: 2.941 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001379/0.6439, allocations: 0.9878 MB / 1.524 GB, free: 1.945 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.6454, allocations: 0.7117 MB / 1.525 GB, free: 1.227 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001173/0.6455, allocations: 313 kB / 1.525 GB, free: 0.918 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/0.6482, allocations: 1.67 MB / 1.527 GB, free: 15.25 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/0.6519, allocations: 2.94 MB / 1.529 GB, free: 11.75 MB / 1.232 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006694/0.6586, allocations: 4.962 MB / 1.534 GB, free: 6.199 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.6586, allocations: 12 kB / 1.534 GB, free: 6.188 MB / 1.232 GB
Notification: Performance of matching and sorting (n=475) (initialization): time 0.009435/0.6681, allocations: 5.444 MB / 1.54 GB, free: 0.6914 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.6681, allocations: 24.03 kB / 1.54 GB, free: 0.668 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.367e-05/0.6682, allocations: 40 kB / 1.54 GB, free: 0.6289 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000942/0.6691, allocations: 419.5 kB / 1.54 GB, free: 220 kB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.6719, allocations: 0.8618 MB / 1.541 GB, free: 15.35 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.6779, allocations: 5.499 MB / 1.546 GB, free: 9.629 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/0.682, allocations: 0.5276 MB / 1.547 GB, free: 9.098 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006081/0.6826, allocations: 180 kB / 1.547 GB, free: 8.922 MB / 1.248 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 181
 * Number of states: 0 ()
 * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (447):
 * Single equations (assignments): 445
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,14,100.0%), (1,14,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.004328/0.687, allocations: 2.28 MB / 1.549 GB, free: 6.629 MB / 1.248 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/0.6888, allocations: 0.5008 MB / 1.55 GB, free: 6.125 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008126/0.697, allocations: 4.172 MB / 1.554 GB, free: 1.898 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.697, allocations: 28 kB / 1.554 GB, free: 1.871 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.697, allocations: 4 kB / 1.554 GB, free: 1.867 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005656/0.7027, allocations: 3.628 MB / 1.557 GB, free: 14.12 MB / 1.264 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/0.7238, allocations: 10.3 MB / 1.567 GB, free: 3.66 MB / 1.264 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7238, allocations: 4 kB / 1.567 GB, free: 3.656 MB / 1.264 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/0.726, allocations: 0.4998 MB / 1.568 GB, free: 3.156 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008775/0.7268, allocations: 371.6 kB / 1.568 GB, free: 2.789 MB / 1.264 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002706/0.7271, allocations: 79.95 kB / 1.568 GB, free: 2.711 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005957/0.7331, allocations: 5.433 MB / 1.574 GB, free: 13.05 MB / 1.279 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7331, allocations: 8.281 kB / 1.574 GB, free: 13.04 MB / 1.279 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/0.7436, allocations: 6.28 MB / 1.58 GB, free: 6.594 MB / 1.279 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.003065/0.7466, allocations: 1.064 MB / 1.581 GB, free: 5.527 MB / 1.279 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/0.7479, allocations: 71.86 kB / 1.581 GB, free: 5.457 MB / 1.279 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/0.751, allocations: 171.7 kB / 1.581 GB, free: 5.289 MB / 1.279 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.7513, allocations: 185.5 kB / 1.581 GB, free: 5.105 MB / 1.279 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003299/0.7517, allocations: 127.9 kB / 1.581 GB, free: 4.98 MB / 1.279 GB
Notification: Performance of sorting global known variables: time 0.006971/0.7586, allocations: 3.843 MB / 1.585 GB, free: 1.152 MB / 1.279 GB
Notification: Performance of sort global known variables: time 2.4e-07/0.7586, allocations: 4 kB / 1.585 GB, free: 1.148 MB / 1.279 GB
Notification: Performance of remove unused functions: time 0.006274/0.7649, allocations: 1.825 MB / 1.587 GB, free: 15.31 MB / 1.295 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y)
 * 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 (242):
 * Single equations (assignments): 237
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,14,100.0%), (1,14,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.7663, allocations: 0.4898 MB / 1.587 GB, free: 14.82 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.007519/0.7738, allocations: 4.122 MB / 1.591 GB, free: 10.66 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.7738, allocations: 4 kB / 1.591 GB, free: 10.66 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.003349/0.7772, allocations: 1.938 MB / 1.593 GB, free: 8.691 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0153/0.7925, allocations: 3.443 MB / 1.597 GB, free: 5.344 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6514/1.444, allocations: 12.74 MB / 1.609 GB, free: 261.2 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005936/1.45, allocations: 4.304 MB / 1.613 GB, free: 260.4 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.006213/1.456, allocations: 1.858 MB / 1.615 GB, free: 260.3 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.457, allocations: 418.9 kB / 1.615 GB, free: 260.3 MB / 1.295 GB
Notification: Performance of SimCode: time 1.773e-06/1.457, allocations: 2.625 kB / 1.615 GB, free: 260.3 MB / 1.295 GB
Notification: Performance of Templates: time 0.1487/1.606, allocations: 116.7 MB / 1.729 GB, free: 168 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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: 12.052611851133406]