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.001424/0.001424, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001417/0.001417, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 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.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.84 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.908, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05011/0.9581, allocations: 49.31 MB / 1.215 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02189/0.9801, allocations: 13.83 MB / 1.229 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004749/0.9849, allocations: 67.62 kB / 1.229 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.9884, allocations: 0.8188 MB / 1.23 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008496/0.9969, allocations: 2.356 MB / 1.232 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00431/1.001, allocations: 1.321 MB / 1.233 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02494/1.026, allocations: 19.61 MB / 1.253 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01644/1.043, allocations: 9.902 MB / 1.262 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01552/1.058, allocations: 6.585 MB / 1.269 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/1.07, allocations: 5.762 MB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003221/1.073, allocations: 0.8477 MB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007277/1.08, allocations: 1.6 MB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004482/1.085, allocations: 2.119 MB / 1.279 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01059/1.095, allocations: 4.287 MB / 1.283 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01887/1.114, allocations: 12.06 MB / 1.295 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.114, allocations: 0 / 1.295 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/1.114, allocations: 0 / 1.295 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000527/1.115, allocations: 0 / 1.295 GB, free: 0.8867 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.02471/1.14, allocations: 7.725 MB / 1.302 GB, free: 9.082 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/1.14, allocations: 12.62 kB / 1.302 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/1.145, allocations: 0.793 MB / 1.303 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/1.161, allocations: 6.303 MB / 1.309 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/1.162, allocations: 415.4 kB / 1.31 GB, free: 1.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002525/1.164, allocations: 0.5389 MB / 1.31 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/1.186, allocations: 8.076 MB / 1.318 GB, free: 8.645 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003082/1.187, allocations: 19.88 kB / 1.318 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002059/1.189, allocations: 236 kB / 1.318 GB, free: 8.395 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/1.189, allocations: 164 kB / 1.318 GB, free: 8.234 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/1.205, allocations: 6.528 MB / 1.325 GB, free: 1.695 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.0544/1.26, allocations: 31.21 MB / 1.355 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006778/1.267, allocations: 3.638 MB / 1.359 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004799/1.271, allocations: 2.804 MB / 1.362 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.273, allocations: 0.8241 MB / 1.362 GB, free: 9.215 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/1.273, allocations: 80.39 kB / 1.362 GB, free: 9.125 MB / 1.092 GB Notification: Performance of pre-optimization done (n=267): time 6.703e-06/1.273, allocations: 0 / 1.362 GB, free: 9.125 MB / 1.092 GB Notification: Performance of matching and sorting (n=267): time 0.01293/1.286, allocations: 5.755 MB / 1.368 GB, free: 3.27 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/1.286, allocations: 81.52 kB / 1.368 GB, free: 3.176 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.299, allocations: 5.239 MB / 1.373 GB, free: 13.94 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001203/1.3, allocations: 81.64 kB / 1.373 GB, free: 13.85 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.004398/1.305, allocations: 2.86 MB / 1.376 GB, free: 10.96 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002241/1.307, allocations: 0.9398 MB / 1.377 GB, free: 10.01 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00293/1.31, allocations: 0.7152 MB / 1.378 GB, free: 9.285 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.31, allocations: 309 kB / 1.378 GB, free: 8.98 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/1.314, allocations: 1.674 MB / 1.38 GB, free: 7.305 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/1.318, allocations: 2.94 MB / 1.383 GB, free: 3.816 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007463/1.325, allocations: 4.962 MB / 1.387 GB, free: 14.26 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-05/1.325, allocations: 12 kB / 1.387 GB, free: 14.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01122/1.337, allocations: 5.43 MB / 1.393 GB, free: 8.762 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/1.337, allocations: 32.05 kB / 1.393 GB, free: 8.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-05/1.337, allocations: 36 kB / 1.393 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.338, allocations: 423.3 kB / 1.393 GB, free: 8.277 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/1.341, allocations: 0.8618 MB / 1.394 GB, free: 7.414 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/1.347, allocations: 5.694 MB / 1.4 GB, free: 1.445 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/1.353, allocations: 0.5144 MB / 1.4 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007959/1.353, allocations: 184 kB / 1.4 GB, free: 0.7461 MB / 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.005073/1.358, allocations: 2.281 MB / 1.402 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00215/1.361, allocations: 486.2 kB / 1.403 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009006/1.37, allocations: 4.18 MB / 1.407 GB, free: 9.734 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/1.37, allocations: 28 kB / 1.407 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/1.37, allocations: 7.984 kB / 1.407 GB, free: 9.699 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005779/1.376, allocations: 3.636 MB / 1.411 GB, free: 5.949 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.399, allocations: 10.26 MB / 1.421 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.399, allocations: 7.938 kB / 1.421 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/1.402, allocations: 0.4998 MB / 1.421 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009721/1.403, allocations: 378.9 kB / 1.421 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003932/1.403, allocations: 79.97 kB / 1.422 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/1.409, allocations: 5.641 MB / 1.427 GB, free: 4.633 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.409, allocations: 7.938 kB / 1.427 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/1.421, allocations: 6.25 MB / 1.433 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004142/1.425, allocations: 1.088 MB / 1.434 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/1.427, allocations: 67.92 kB / 1.434 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003987/1.431, allocations: 179.7 kB / 1.434 GB, free: 12.85 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/1.431, allocations: 177.6 kB / 1.435 GB, free: 12.67 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005578/1.432, allocations: 131.9 kB / 1.435 GB, free: 12.54 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.008504/1.44, allocations: 3.835 MB / 1.439 GB, free: 8.723 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.81e-07/1.44, allocations: 4 kB / 1.439 GB, free: 8.719 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.008381/1.449, allocations: 1.8 MB / 1.44 GB, free: 6.914 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.00208/1.451, allocations: 482.5 kB / 1.441 GB, free: 6.441 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009129/1.46, allocations: 4.278 MB / 1.445 GB, free: 2.125 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.46, allocations: 7.938 kB / 1.445 GB, free: 2.117 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.464, allocations: 2.043 MB / 1.447 GB, free: 48 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01819/1.482, allocations: 3.453 MB / 1.45 GB, free: 12.69 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/1.51, allocations: 12.53 MB / 1.463 GB, free: 72 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006782/1.517, allocations: 4.235 MB / 1.467 GB, free: 11.81 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/1.519, allocations: 447.3 kB / 1.467 GB, free: 11.38 MB / 1.201 GB Notification: Performance of SimCode: time 8.51e-07/1.52, allocations: 0 / 1.467 GB, free: 11.38 MB / 1.201 GB Notification: Performance of Templates: time 0.9085/2.428, allocations: 174.3 MB / 1.637 GB, free: 301 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