Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005944/0.005945, allocations: 111.1 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.283/2.283, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.929/3.929, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 71.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28/1.282, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.09058/1.373, allocations: 49.31 MB / 1.215 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03537/1.408, allocations: 13.82 MB / 1.229 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004324/1.413, allocations: 67.62 kB / 1.229 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004546/1.417, allocations: 0.8227 MB / 1.23 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.012/1.429, allocations: 2.365 MB / 1.232 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006315/1.436, allocations: 1.312 MB / 1.233 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.03553/1.471, allocations: 19.58 MB / 1.253 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02286/1.494, allocations: 9.898 MB / 1.262 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02116/1.515, allocations: 6.585 MB / 1.269 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01594/1.531, allocations: 5.758 MB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004241/1.536, allocations: 0.8438 MB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/1.548, allocations: 1.604 MB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006442/1.555, allocations: 2.119 MB / 1.279 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01447/1.569, allocations: 4.283 MB / 1.283 GB, free: 13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02736/1.597, allocations: 12.1 MB / 1.295 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/1.597, allocations: 0 / 1.295 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.365e-06/1.597, allocations: 0 / 1.295 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000476/1.597, allocations: 0 / 1.295 GB, free: 0.8594 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.03514/1.632, allocations: 7.913 MB / 1.302 GB, free: 8.855 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/1.632, allocations: 12.92 kB / 1.302 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007487/1.64, allocations: 0.8243 MB / 1.303 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02464/1.665, allocations: 6.338 MB / 1.309 GB, free: 1.617 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007388/1.665, allocations: 411.4 kB / 1.31 GB, free: 1.215 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003453/1.669, allocations: 0.5468 MB / 1.31 GB, free: 0.668 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03384/1.703, allocations: 8.076 MB / 1.318 GB, free: 8.352 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004093/1.703, allocations: 19.83 kB / 1.318 GB, free: 8.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003021/1.706, allocations: 232 kB / 1.318 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/1.707, allocations: 164 kB / 1.319 GB, free: 7.945 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/1.733, allocations: 6.528 MB / 1.325 GB, free: 1.406 MB / 1.045 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.08101/1.814, allocations: 31.27 MB / 1.356 GB, free: 308 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.825, allocations: 3.638 MB / 1.359 GB, free: 12.67 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007914/1.833, allocations: 2.796 MB / 1.362 GB, free: 9.867 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/1.835, allocations: 0.8318 MB / 1.363 GB, free: 8.867 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/1.835, allocations: 76.45 kB / 1.363 GB, free: 8.781 MB / 1.092 GB Notification: Performance of pre-optimization done (n=267): time 1.306e-05/1.835, allocations: 0 / 1.363 GB, free: 8.781 MB / 1.092 GB Notification: Performance of matching and sorting (n=267): time 0.02321/1.858, allocations: 5.785 MB / 1.368 GB, free: 2.898 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/1.858, allocations: 77.52 kB / 1.368 GB, free: 2.809 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01828/1.877, allocations: 5.232 MB / 1.374 GB, free: 13.58 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.878, allocations: 77.7 kB / 1.374 GB, free: 13.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.005262/1.883, allocations: 2.938 MB / 1.377 GB, free: 10.54 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002626/1.886, allocations: 0.98 MB / 1.377 GB, free: 9.547 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003446/1.889, allocations: 0.7196 MB / 1.378 GB, free: 8.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.89, allocations: 305.1 kB / 1.378 GB, free: 8.52 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005473/1.895, allocations: 1.674 MB / 1.38 GB, free: 6.844 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007494/1.903, allocations: 2.932 MB / 1.383 GB, free: 3.363 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/1.916, allocations: 4.962 MB / 1.388 GB, free: 13.8 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.514e-05/1.916, allocations: 12 kB / 1.388 GB, free: 13.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01994/1.936, allocations: 5.471 MB / 1.393 GB, free: 8.27 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 9.97e-05/1.937, allocations: 20 kB / 1.393 GB, free: 8.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.937, allocations: 40 kB / 1.393 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.939, allocations: 418 kB / 1.394 GB, free: 7.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006426/1.945, allocations: 0.8657 MB / 1.394 GB, free: 6.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.956, allocations: 5.718 MB / 1.4 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008677/1.964, allocations: 0.5315 MB / 1.401 GB, free: 412 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/1.966, allocations: 180 kB / 1.401 GB, free: 232 kB / 1.123 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.008532/1.974, allocations: 2.28 MB / 1.403 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003185/1.978, allocations: 0.4969 MB / 1.403 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/1.993, allocations: 4.184 MB / 1.408 GB, free: 9.191 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/1.993, allocations: 32 kB / 1.408 GB, free: 9.16 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.072e-05/1.993, allocations: 15.92 kB / 1.408 GB, free: 9.145 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01068/2.004, allocations: 3.628 MB / 1.411 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03554/2.04, allocations: 10.27 MB / 1.421 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/2.04, allocations: 8.094 kB / 1.421 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00411/2.044, allocations: 0.4992 MB / 1.422 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/2.046, allocations: 371.1 kB / 1.422 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008801/2.047, allocations: 75.97 kB / 1.422 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/2.057, allocations: 5.645 MB / 1.428 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-05/2.057, allocations: 16 kB / 1.428 GB, free: 4.078 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/2.077, allocations: 6.268 MB / 1.434 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005083/2.082, allocations: 1.122 MB / 1.435 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002473/2.084, allocations: 67.92 kB / 1.435 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0063/2.091, allocations: 179.8 kB / 1.435 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008143/2.092, allocations: 177.6 kB / 1.435 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008235/2.092, allocations: 131.9 kB / 1.435 GB, free: 11.95 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01198/2.104, allocations: 3.835 MB / 1.439 GB, free: 8.129 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.21e-07/2.105, allocations: 0 / 1.439 GB, free: 8.129 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01208/2.117, allocations: 1.813 MB / 1.441 GB, free: 6.312 MB / 1.17 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.002364/2.119, allocations: 492.7 kB / 1.441 GB, free: 5.832 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02121/2.14, allocations: 4.286 MB / 1.446 GB, free: 1.508 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.476e-05/2.14, allocations: 4 kB / 1.446 GB, free: 1.504 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00599/2.146, allocations: 2.043 MB / 1.448 GB, free: 15.43 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03692/2.183, allocations: 3.452 MB / 1.451 GB, free: 12.07 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05512/2.239, allocations: 12.7 MB / 1.463 GB, free: 15.27 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/2.249, allocations: 4.235 MB / 1.467 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002859/2.252, allocations: 455.2 kB / 1.468 GB, free: 10.57 MB / 1.201 GB Notification: Performance of SimCode: time 1.102e-06/2.252, allocations: 0 / 1.468 GB, free: 10.57 MB / 1.201 GB Notification: Performance of Templates: time 1.372/3.624, allocations: 174.4 MB / 1.638 GB, free: 296.2 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches