Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005098/0.005098, allocations: 106.8 kB / 15.74 MB, free: 6.449 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.001165/0.001165, allocations: 195.4 kB / 16.67 MB, free: 6.352 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.93/2.93, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 68.09 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4044, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.9615/1.366, allocations: 49.39 MB / 1.269 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02326/1.389, allocations: 13.84 MB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006932/1.396, allocations: 72.75 kB / 1.282 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005753/1.402, allocations: 0.8363 MB / 1.283 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/1.414, allocations: 2.351 MB / 1.286 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005422/1.419, allocations: 1.32 MB / 1.287 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02843/1.448, allocations: 19.58 MB / 1.306 GB, free: 2.492 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01547/1.463, allocations: 8.19 MB / 1.314 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02298/1.486, allocations: 6.585 MB / 1.32 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02267/1.509, allocations: 5.753 MB / 1.326 GB, free: 9.602 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.005291/1.514, allocations: 0.8445 MB / 1.327 GB, free: 9.602 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/1.526, allocations: 1.605 MB / 1.328 GB, free: 9.281 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.007184/1.534, allocations: 2.207 MB / 1.331 GB, free: 7.922 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01768/1.551, allocations: 4.283 MB / 1.335 GB, free: 5.324 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0271/1.578, allocations: 12.1 MB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.578, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.234e-06/1.578, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0006147/1.579, allocations: 4 kB / 1.347 GB, free: 14.79 MB / 1.045 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.03613/1.615, allocations: 7.923 MB / 1.354 GB, free: 9.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.615, allocations: 7.594 kB / 1.354 GB, free: 9.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006623/1.622, allocations: 0.8304 MB / 1.355 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/1.641, allocations: 6.331 MB / 1.361 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005899/1.642, allocations: 417 kB / 1.362 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/1.645, allocations: 0.552 MB / 1.362 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02849/1.673, allocations: 8.072 MB / 1.37 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003463/1.674, allocations: 15.88 kB / 1.37 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002755/1.677, allocations: 236 kB / 1.37 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/1.677, allocations: 167.9 kB / 1.37 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/1.695, allocations: 6.52 MB / 1.377 GB, free: 5.105 MB / 1.061 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.06379/1.759, allocations: 31.26 MB / 1.407 GB, free: 4.012 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008601/1.767, allocations: 3.44 MB / 1.411 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005638/1.773, allocations: 2.589 MB / 1.413 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.774, allocations: 0.8241 MB / 1.414 GB, free: 12.99 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/1.774, allocations: 76.61 kB / 1.414 GB, free: 12.9 MB / 1.107 GB Notification: Performance of pre-optimization done (n=267): time 7.494e-06/1.774, allocations: 0 / 1.414 GB, free: 12.9 MB / 1.107 GB Notification: Performance of matching and sorting (n=267): time 0.01489/1.789, allocations: 5.765 MB / 1.42 GB, free: 7.039 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/1.789, allocations: 77.52 kB / 1.42 GB, free: 6.949 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01507/1.804, allocations: 5.243 MB / 1.425 GB, free: 1.707 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.806, allocations: 73.7 kB / 1.425 GB, free: 1.629 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.004777/1.81, allocations: 2.934 MB / 1.428 GB, free: 14.67 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002486/1.813, allocations: 0.98 MB / 1.429 GB, free: 13.68 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00283/1.816, allocations: 0.7234 MB / 1.43 GB, free: 12.95 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.816, allocations: 308.9 kB / 1.43 GB, free: 12.65 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003644/1.82, allocations: 1.674 MB / 1.432 GB, free: 10.97 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/1.824, allocations: 2.932 MB / 1.434 GB, free: 7.492 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008056/1.832, allocations: 4.97 MB / 1.439 GB, free: 1.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-05/1.832, allocations: 12 kB / 1.439 GB, free: 1.918 MB / 1.123 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01238/1.845, allocations: 5.444 MB / 1.445 GB, free: 12.42 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/1.845, allocations: 25.72 kB / 1.445 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.487e-05/1.845, allocations: 40 kB / 1.445 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.846, allocations: 417.7 kB / 1.445 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/1.849, allocations: 0.8618 MB / 1.446 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006564/1.856, allocations: 5.726 MB / 1.451 GB, free: 5.078 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/1.862, allocations: 0.5315 MB / 1.452 GB, free: 4.543 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.863, allocations: 180 kB / 1.452 GB, free: 4.367 MB / 1.139 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.00732/1.871, allocations: 2.284 MB / 1.454 GB, free: 2.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00311/1.874, allocations: 0.5008 MB / 1.455 GB, free: 1.566 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/1.885, allocations: 4.165 MB / 1.459 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/1.885, allocations: 27.98 kB / 1.459 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/1.885, allocations: 4 kB / 1.459 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006877/1.892, allocations: 3.624 MB / 1.462 GB, free: 9.574 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03046/1.922, allocations: 10.25 MB / 1.473 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.922, allocations: 4 kB / 1.473 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/1.925, allocations: 0.4998 MB / 1.473 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/1.926, allocations: 375.9 kB / 1.473 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005999/1.927, allocations: 71.97 kB / 1.473 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006336/1.933, allocations: 5.65 MB / 1.479 GB, free: 8.277 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.933, allocations: 4 kB / 1.479 GB, free: 8.273 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.948, allocations: 6.265 MB / 1.485 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005371/1.953, allocations: 1.114 MB / 1.486 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00305/1.956, allocations: 63.92 kB / 1.486 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005677/1.962, allocations: 183.6 kB / 1.486 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008185/1.963, allocations: 169.6 kB / 1.487 GB, free: 300 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009402/1.964, allocations: 139.9 kB / 1.487 GB, free: 160 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01085/1.975, allocations: 3.831 MB / 1.49 GB, free: 12.34 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.9e-07/1.975, allocations: 0 / 1.49 GB, free: 12.34 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.01133/1.986, allocations: 1.817 MB / 1.492 GB, free: 10.52 MB / 1.186 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.002387/1.988, allocations: 0.4886 MB / 1.493 GB, free: 10.03 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.009267/1.998, allocations: 4.121 MB / 1.497 GB, free: 5.867 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.998, allocations: 4.375 kB / 1.497 GB, free: 5.863 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004161/2.002, allocations: 1.933 MB / 1.499 GB, free: 3.902 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02274/2.025, allocations: 3.453 MB / 1.502 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03441/2.059, allocations: 12.67 MB / 1.514 GB, free: 3.785 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008814/2.068, allocations: 4.307 MB / 1.519 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.009761/2.078, allocations: 1.853 MB / 1.52 GB, free: 13.61 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002596/2.08, allocations: 415.3 kB / 1.521 GB, free: 13.2 MB / 1.217 GB Notification: Performance of SimCode: time 2.384e-06/2.08, allocations: 7.938 kB / 1.521 GB, free: 13.19 MB / 1.217 GB Notification: Performance of Templates: time 0.1839/2.264, allocations: 113.8 MB / 1.632 GB, free: 12.14 MB / 1.326 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches