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.00137/0.00137, allocations: 104.1 kB / 16.4 MB, free: 6.012 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.001356/0.001356, allocations: 189.2 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, 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 2.746/2.746, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 64.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06105/1.192, allocations: 49.32 MB / 1.215 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02533/1.218, allocations: 13.83 MB / 1.229 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003931/1.222, allocations: 67.62 kB / 1.229 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003147/1.225, allocations: 0.8343 MB / 1.23 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009056/1.234, allocations: 2.361 MB / 1.232 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/1.239, allocations: 1.309 MB / 1.233 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02387/1.262, allocations: 19.6 MB / 1.253 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01548/1.278, allocations: 9.891 MB / 1.262 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01687/1.295, allocations: 6.582 MB / 1.269 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/1.307, allocations: 5.758 MB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003648/1.311, allocations: 0.8438 MB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007938/1.319, allocations: 1.6 MB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005213/1.324, allocations: 2.123 MB / 1.279 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01254/1.337, allocations: 4.283 MB / 1.283 GB, free: 13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02509/1.362, allocations: 12.09 MB / 1.295 GB, free: 0.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/1.362, allocations: 4 kB / 1.295 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/1.362, allocations: 0 / 1.295 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005198/1.362, allocations: 0 / 1.295 GB, free: 0.8711 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.02561/1.388, allocations: 7.921 MB / 1.302 GB, free: 8.863 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.388, allocations: 8.922 kB / 1.302 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/1.392, allocations: 0.8204 MB / 1.303 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/1.407, allocations: 6.341 MB / 1.309 GB, free: 1.633 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004589/1.408, allocations: 415.4 kB / 1.31 GB, free: 1.227 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/1.41, allocations: 0.5468 MB / 1.31 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/1.431, allocations: 8.072 MB / 1.318 GB, free: 8.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/1.432, allocations: 15.83 kB / 1.318 GB, free: 8.352 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009467/1.432, allocations: 236 kB / 1.319 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/1.433, allocations: 168 kB / 1.319 GB, free: 7.957 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01637/1.449, allocations: 6.52 MB / 1.325 GB, free: 1.426 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.06256/1.512, allocations: 31.28 MB / 1.356 GB, free: 324 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007406/1.519, allocations: 3.642 MB / 1.359 GB, free: 12.69 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005185/1.524, allocations: 2.8 MB / 1.362 GB, free: 9.875 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/1.526, allocations: 0.828 MB / 1.363 GB, free: 8.879 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/1.526, allocations: 76.45 kB / 1.363 GB, free: 8.793 MB / 1.092 GB Notification: Performance of pre-optimization done (n=267): time 5.34e-06/1.526, allocations: 0 / 1.363 GB, free: 8.793 MB / 1.092 GB Notification: Performance of matching and sorting (n=267): time 0.0142/1.54, allocations: 5.777 MB / 1.368 GB, free: 2.918 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/1.54, allocations: 85.52 kB / 1.368 GB, free: 2.82 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/1.551, allocations: 5.236 MB / 1.374 GB, free: 13.59 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0009622/1.552, allocations: 77.7 kB / 1.374 GB, free: 13.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00348/1.555, allocations: 2.938 MB / 1.377 GB, free: 10.54 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/1.557, allocations: 0.98 MB / 1.378 GB, free: 9.555 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/1.558, allocations: 0.7118 MB / 1.378 GB, free: 8.836 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.559, allocations: 309.1 kB / 1.378 GB, free: 8.531 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.562, allocations: 1.674 MB / 1.38 GB, free: 6.855 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004395/1.566, allocations: 2.936 MB / 1.383 GB, free: 3.371 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008/1.574, allocations: 4.966 MB / 1.388 GB, free: 13.81 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-05/1.574, allocations: 12 kB / 1.388 GB, free: 13.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01122/1.586, allocations: 5.46 MB / 1.393 GB, free: 8.289 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/1.586, allocations: 27.94 kB / 1.393 GB, free: 8.262 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-05/1.586, allocations: 40 kB / 1.393 GB, free: 8.223 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/1.587, allocations: 427.6 kB / 1.394 GB, free: 7.801 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/1.59, allocations: 0.8618 MB / 1.395 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007127/1.597, allocations: 5.714 MB / 1.4 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/1.602, allocations: 0.5315 MB / 1.401 GB, free: 420 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005404/1.603, allocations: 184 kB / 1.401 GB, free: 236 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.005142/1.608, allocations: 2.281 MB / 1.403 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/1.61, allocations: 0.4969 MB / 1.403 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008028/1.618, allocations: 4.187 MB / 1.408 GB, free: 9.191 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/1.618, allocations: 28 kB / 1.408 GB, free: 9.164 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.618, allocations: 4 kB / 1.408 GB, free: 9.16 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005907/1.624, allocations: 3.628 MB / 1.411 GB, free: 5.418 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.644, allocations: 10.28 MB / 1.421 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.645, allocations: 4 kB / 1.421 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/1.647, allocations: 0.4998 MB / 1.422 GB, free: 10.46 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009499/1.648, allocations: 369.4 kB / 1.422 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/1.648, allocations: 79.95 kB / 1.422 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006905/1.655, allocations: 5.649 MB / 1.428 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.655, allocations: 4 kB / 1.428 GB, free: 4.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.666, allocations: 6.276 MB / 1.434 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/1.67, allocations: 1.122 MB / 1.435 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.671, allocations: 63.92 kB / 1.435 GB, free: 12.44 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003253/1.674, allocations: 183.8 kB / 1.435 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/1.675, allocations: 173.6 kB / 1.435 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004219/1.675, allocations: 127.9 kB / 1.435 GB, free: 11.96 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01049/1.686, allocations: 3.843 MB / 1.439 GB, free: 8.133 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.71e-07/1.686, allocations: 0 / 1.439 GB, free: 8.133 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.009742/1.696, allocations: 1.809 MB / 1.441 GB, free: 6.32 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.001751/1.697, allocations: 493.1 kB / 1.441 GB, free: 5.84 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007976/1.705, allocations: 4.274 MB / 1.446 GB, free: 1.527 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.705, allocations: 4 kB / 1.446 GB, free: 1.523 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003427/1.709, allocations: 2.047 MB / 1.448 GB, free: 15.45 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01992/1.729, allocations: 3.457 MB / 1.451 GB, free: 12.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/1.759, allocations: 12.66 MB / 1.463 GB, free: 15.32 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005288/1.764, allocations: 4.311 MB / 1.467 GB, free: 10.98 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.006748/1.771, allocations: 1.857 MB / 1.469 GB, free: 9.121 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/1.773, allocations: 415.3 kB / 1.47 GB, free: 8.719 MB / 1.201 GB Notification: Performance of SimCode: time 1.513e-06/1.773, allocations: 4 kB / 1.47 GB, free: 8.715 MB / 1.201 GB Notification: Performance of Templates: time 0.9971/2.77, allocations: 113.7 MB / 1.581 GB, free: 356 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 -s cvode -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