Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.3 MB / 261.8 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008163, allocations: 94.41 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.266e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1958, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.531/1.727, allocations: 397 MB / 1.279 GB, free: 323.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/1.727, allocations: 87.88 kB / 1.28 GB, free: 323.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.199/9.926, allocations: 2.017 GB / 3.297 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.854e-06/9.926, allocations: 0 / 3.297 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001232/9.928, allocations: 170.9 kB / 3.297 GB, free: 127.6 MB / 0.8855 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.02668/9.954, allocations: 5.498 MB / 3.302 GB, free: 126 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.526e-05/9.954, allocations: 9.594 kB / 3.302 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007467/9.962, allocations: 0.7715 MB / 3.303 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02348/9.985, allocations: 7.25 MB / 3.31 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007457/9.986, allocations: 416 kB / 3.31 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003153/9.989, allocations: 0.5466 MB / 3.311 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/10.02, allocations: 7.296 MB / 3.318 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003235/10.02, allocations: 19.22 kB / 3.318 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001815/10.02, allocations: 235.3 kB / 3.318 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/10.02, allocations: 169 kB / 3.319 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/10.04, allocations: 5.882 MB / 3.324 GB, free: 124.1 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.05552/10.09, allocations: 29.05 MB / 3.353 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007213/10.1, allocations: 3.646 MB / 3.356 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004775/10.1, allocations: 3.007 MB / 3.359 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/10.11, allocations: 0.8303 MB / 3.36 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.161e-05/10.11, allocations: 69.62 kB / 3.36 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 6.462e-06/10.11, allocations: 3.172 kB / 3.36 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.008666/10.11, allocations: 3.696 MB / 3.364 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/10.11, allocations: 80.05 kB / 3.364 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/10.12, allocations: 4.771 MB / 3.368 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009671/10.13, allocations: 79.14 kB / 3.368 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/10.13, allocations: 2.812 MB / 3.371 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/10.13, allocations: 0.9648 MB / 3.372 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/10.13, allocations: 77.31 kB / 3.372 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002465/10.13, allocations: 464.9 kB / 3.373 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/10.13, allocations: 1.63 MB / 3.374 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/10.14, allocations: 2.851 MB / 3.377 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/10.14, allocations: 2.254 MB / 3.379 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/10.14, allocations: 11.78 kB / 3.379 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.009498/10.15, allocations: 5.337 MB / 3.384 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/10.15, allocations: 22.56 kB / 3.384 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-05/10.15, allocations: 40.81 kB / 3.385 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/10.15, allocations: 414.8 kB / 3.385 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/10.15, allocations: 0.8769 MB / 3.386 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/10.16, allocations: 5.304 MB / 3.391 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008168/10.17, allocations: 0.6689 MB / 3.392 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/10.17, allocations: 184.9 kB / 3.392 GB, free: 103.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001148/10.17, allocations: 342.8 kB / 3.392 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00232/10.17, allocations: 475.6 kB / 3.393 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008084/10.18, allocations: 4.135 MB / 3.397 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/10.18, allocations: 26.56 kB / 3.397 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/10.18, allocations: 3.875 kB / 3.397 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004835/10.19, allocations: 3.581 MB / 3.4 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02779/10.21, allocations: 10.5 MB / 3.41 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/10.21, allocations: 6.906 kB / 3.41 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/10.22, allocations: 0.5083 MB / 3.411 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008758/10.22, allocations: 370.2 kB / 3.411 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/10.22, allocations: 84.98 kB / 3.411 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/10.22, allocations: 5.247 MB / 3.416 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/10.22, allocations: 7.531 kB / 3.416 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/10.23, allocations: 6.985 MB / 3.423 GB, free: 96.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004717/10.24, allocations: 1.196 MB / 3.424 GB, free: 96.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002199/10.24, allocations: 61.34 kB / 3.424 GB, free: 96.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005227/10.24, allocations: 304 kB / 3.425 GB, free: 96.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/10.25, allocations: 185.1 kB / 3.425 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003699/10.25, allocations: 129 kB / 3.425 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009482/10.26, allocations: 3.878 MB / 3.429 GB, free: 96.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.294e-06/10.26, allocations: 0 / 3.429 GB, free: 96.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01006/10.27, allocations: 1.847 MB / 3.431 GB, free: 95.94 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002287/10.27, allocations: 0.7414 MB / 3.431 GB, free: 95.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006971/10.27, allocations: 4.194 MB / 3.435 GB, free: 95.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/10.27, allocations: 3.906 kB / 3.435 GB, free: 95.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/10.28, allocations: 2.021 MB / 3.437 GB, free: 95.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0182/10.3, allocations: 3.227 MB / 3.441 GB, free: 95.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/10.32, allocations: 10.9 MB / 3.451 GB, free: 91.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004549/10.33, allocations: 4.388 MB / 3.456 GB, free: 90 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007743/10.33, allocations: 1.85 MB / 3.457 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/10.34, allocations: 427.4 kB / 3.458 GB, free: 89.84 MB / 0.8855 GB Notification: Performance of SimCode: time 1.743e-06/10.34, allocations: 0 / 3.458 GB, free: 89.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.2101/10.55, allocations: 113.1 MB / 3.568 GB, free: 23.31 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches