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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 7.098 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.0009886/0.0009886, allocations: 181.3 kB / 316 MB, free: 3.523 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.042/1.042, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0007848/0.0007848, allocations: 82.22 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.09e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9055/1.066, allocations: 397.3 MB / 1.273 GB, free: 328.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.066, allocations: 83.8 kB / 1.273 GB, free: 328.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.355/6.421, allocations: 2.017 GB / 3.29 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000802/6.422, allocations: 170.4 kB / 3.29 GB, free: 123.2 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.01265/6.435, allocations: 5.424 MB / 3.295 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/6.435, allocations: 7.594 kB / 3.295 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/6.438, allocations: 0.7766 MB / 3.296 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/6.45, allocations: 7.334 MB / 3.303 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/6.45, allocations: 175.8 kB / 3.303 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008203/6.451, allocations: 331.9 kB / 3.304 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008306/6.46, allocations: 5.715 MB / 3.309 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009211/6.469, allocations: 6.637 MB / 3.316 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/6.469, allocations: 18.91 kB / 3.316 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000479/6.469, allocations: 9.656 kB / 3.316 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/6.469, allocations: 166.9 kB / 3.316 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02901/6.499, allocations: 28.78 MB / 3.344 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/6.502, allocations: 3.447 MB / 3.347 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/6.505, allocations: 2.706 MB / 3.35 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/6.506, allocations: 0.8356 MB / 3.351 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/6.506, allocations: 70.61 kB / 3.351 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 4.068e-06/6.506, allocations: 0 / 3.351 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.005378/6.511, allocations: 3.727 MB / 3.355 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/6.511, allocations: 79.48 kB / 3.355 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004631/6.516, allocations: 4.011 MB / 3.359 GB, free: 107 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/6.516, allocations: 29.55 kB / 3.359 GB, free: 107 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/6.517, allocations: 2.127 MB / 3.361 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/6.519, allocations: 0.9389 MB / 3.362 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/6.519, allocations: 0 / 3.362 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001462/6.519, allocations: 463.1 kB / 3.362 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/6.521, allocations: 1.63 MB / 3.364 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/6.523, allocations: 2.821 MB / 3.366 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/6.526, allocations: 2.415 MB / 3.369 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/6.526, allocations: 9.469 kB / 3.369 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.006996/6.533, allocations: 5.164 MB / 3.374 GB, free: 103 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/6.533, allocations: 5.875 kB / 3.374 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/6.533, allocations: 40 kB / 3.374 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007777/6.534, allocations: 416.9 kB / 3.374 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/6.536, allocations: 0.8592 MB / 3.375 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/6.541, allocations: 4.98 MB / 3.38 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/6.545, allocations: 0.4956 MB / 3.38 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/6.545, allocations: 180.2 kB / 3.381 GB, free: 100.2 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.0005414/6.545, allocations: 224.2 kB / 3.381 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/6.546, allocations: 416.9 kB / 3.381 GB, free: 99.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005936/6.552, allocations: 4.137 MB / 3.385 GB, free: 99.63 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/6.552, allocations: 29.09 kB / 3.385 GB, free: 99.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/6.552, allocations: 3.688 kB / 3.385 GB, free: 99.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004192/6.556, allocations: 3.662 MB / 3.389 GB, free: 99.17 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/6.572, allocations: 9.866 MB / 3.399 GB, free: 98.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/6.572, allocations: 5.719 kB / 3.399 GB, free: 98.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/6.574, allocations: 0.5031 MB / 3.399 GB, free: 98.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/6.575, allocations: 380.9 kB / 3.399 GB, free: 98.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/6.575, allocations: 46.67 kB / 3.399 GB, free: 98.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003956/6.579, allocations: 4.906 MB / 3.404 GB, free: 95.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/6.579, allocations: 13.03 kB / 3.404 GB, free: 95.56 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007538/6.586, allocations: 6.908 MB / 3.411 GB, free: 94.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/6.589, allocations: 1.107 MB / 3.412 GB, free: 93.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000631/6.589, allocations: 20.66 kB / 3.412 GB, free: 93.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/6.592, allocations: 230.5 kB / 3.412 GB, free: 93.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/6.592, allocations: 149.6 kB / 3.412 GB, free: 93.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/6.592, allocations: 127.6 kB / 3.413 GB, free: 93.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003646/6.596, allocations: 3.058 MB / 3.416 GB, free: 93.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005346/6.601, allocations: 1.838 MB / 3.417 GB, free: 93.23 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.001122/6.602, allocations: 0.7053 MB / 3.418 GB, free: 93.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004646/6.607, allocations: 4.072 MB / 3.422 GB, free: 92.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/6.607, allocations: 3.844 kB / 3.422 GB, free: 92.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/6.609, allocations: 1.943 MB / 3.424 GB, free: 92.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/6.621, allocations: 2.235 MB / 3.426 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/6.64, allocations: 10.73 MB / 3.437 GB, free: 90.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004504/6.645, allocations: 4.777 MB / 3.441 GB, free: 89.79 MB / 0.8855 GB Notification: Performance of SimCode: time 6.82e-07/6.645, allocations: 3.719 kB / 3.441 GB, free: 89.79 MB / 0.8855 GB Notification: Performance of Templates: time 0.1209/6.766, allocations: 85.24 MB / 3.525 GB, free: 77.55 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