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.39/1.39, allocations: 249.5 MB / 257 MB, free: 6.859 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.001029/0.00103, allocations: 184.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008248/0.0008249, allocations: 97.84 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.573e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.516/1.732, allocations: 397.3 MB / 1.273 GB, free: 328.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/1.732, allocations: 88.05 kB / 1.273 GB, free: 328.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.78/8.512, allocations: 2.007 GB / 3.28 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.204e-06/8.512, allocations: 4 kB / 3.28 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001075/8.513, allocations: 179.8 kB / 3.28 GB, free: 4.242 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.6947/9.208, allocations: 5.482 MB / 3.285 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/9.208, allocations: 9.281 kB / 3.285 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/9.214, allocations: 0.768 MB / 3.286 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02331/9.237, allocations: 7.251 MB / 3.293 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/9.238, allocations: 178.1 kB / 3.293 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/9.24, allocations: 325.9 kB / 3.294 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01683/9.257, allocations: 5.549 MB / 3.299 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/9.279, allocations: 6.507 MB / 3.305 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002213/9.279, allocations: 17.83 kB / 3.305 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008425/9.28, allocations: 8.438 kB / 3.305 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002407/9.28, allocations: 163.4 kB / 3.306 GB, free: 117.5 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.05257/9.333, allocations: 27.95 MB / 3.333 GB, free: 106 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/9.339, allocations: 3.494 MB / 3.336 GB, free: 106 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004285/9.343, allocations: 2.669 MB / 3.339 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/9.344, allocations: 0.8289 MB / 3.34 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.837e-05/9.344, allocations: 68.36 kB / 3.34 GB, free: 105 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 7.414e-06/9.344, allocations: 0 / 3.34 GB, free: 105 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.01029/9.355, allocations: 3.591 MB / 3.343 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/9.355, allocations: 81.39 kB / 3.343 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/9.365, allocations: 3.913 MB / 3.347 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/9.366, allocations: 33.95 kB / 3.347 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/9.368, allocations: 2.804 MB / 3.35 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/9.37, allocations: 0.9279 MB / 3.351 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/9.37, allocations: 0 / 3.351 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002522/9.371, allocations: 472.1 kB / 3.351 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/9.373, allocations: 1.561 MB / 3.353 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/9.375, allocations: 2.746 MB / 3.356 GB, free: 101 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/9.379, allocations: 2.299 MB / 3.358 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/9.379, allocations: 10.72 kB / 3.358 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.009052/9.388, allocations: 5.008 MB / 3.363 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/9.388, allocations: 20.5 kB / 3.363 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-05/9.388, allocations: 38.06 kB / 3.363 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000876/9.389, allocations: 417.4 kB / 3.363 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/9.392, allocations: 0.8738 MB / 3.364 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/9.397, allocations: 5.144 MB / 3.369 GB, free: 97.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/9.402, allocations: 0.5245 MB / 3.37 GB, free: 97.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/9.403, allocations: 190 kB / 3.37 GB, free: 97.71 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.0007472/9.403, allocations: 216.7 kB / 3.37 GB, free: 97.58 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/9.404, allocations: 417.5 kB / 3.37 GB, free: 97.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/9.411, allocations: 3.949 MB / 3.374 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/9.411, allocations: 25.41 kB / 3.374 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/9.411, allocations: 7.594 kB / 3.374 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004323/9.415, allocations: 3.512 MB / 3.378 GB, free: 96.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/9.437, allocations: 9.681 MB / 3.387 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/9.437, allocations: 7.469 kB / 3.387 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/9.439, allocations: 0.5117 MB / 3.388 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/9.44, allocations: 373.5 kB / 3.388 GB, free: 95.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/9.44, allocations: 47.56 kB / 3.388 GB, free: 95.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/9.445, allocations: 5.089 MB / 3.393 GB, free: 93.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/9.445, allocations: 7.844 kB / 3.393 GB, free: 93.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008968/9.454, allocations: 6.66 MB / 3.4 GB, free: 91.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003476/9.457, allocations: 1.106 MB / 3.401 GB, free: 91.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/9.458, allocations: 18.2 kB / 3.401 GB, free: 91.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/9.462, allocations: 250.9 kB / 3.401 GB, free: 91.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/9.462, allocations: 182.8 kB / 3.401 GB, free: 91.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/9.462, allocations: 120.3 kB / 3.401 GB, free: 91.16 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004571/9.467, allocations: 2.984 MB / 3.404 GB, free: 90.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/9.467, allocations: 0 / 3.404 GB, free: 90.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00742/9.474, allocations: 1.847 MB / 3.406 GB, free: 90.69 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.001637/9.476, allocations: 0.7053 MB / 3.407 GB, free: 90.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005589/9.482, allocations: 3.979 MB / 3.41 GB, free: 90.28 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/9.482, allocations: 3.75 kB / 3.41 GB, free: 90.28 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/9.484, allocations: 1.938 MB / 3.412 GB, free: 90.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01352/9.497, allocations: 2.366 MB / 3.415 GB, free: 90 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/9.518, allocations: 10.53 MB / 3.425 GB, free: 87.89 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003918/9.522, allocations: 4.394 MB / 3.429 GB, free: 87.06 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006025/9.528, allocations: 1.615 MB / 3.431 GB, free: 87.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/9.529, allocations: 386.2 kB / 3.431 GB, free: 87.01 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/9.529, allocations: 2.188 kB / 3.431 GB, free: 87.01 MB / 0.8855 GB Notification: Performance of Templates: time 0.1569/9.686, allocations: 83.33 MB / 3.513 GB, free: 80 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