Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2/2, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 189.2 kB / 487 MB, free: 5.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009529, allocations: 89.88 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.823e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2604, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9195/1.18, allocations: 415.8 MB / 1.611 GB, free: 7.934 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/1.18, allocations: 91.62 kB / 1.611 GB, free: 7.887 MB / 1.042 GB Notification: Performance of FrontEnd: time 7.063/8.243, allocations: 2.137 GB / 3.748 GB, free: 121.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009948/8.244, allocations: 178.3 kB / 3.749 GB, free: 121.3 MB / 1.151 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.0185/8.263, allocations: 5.45 MB / 3.754 GB, free: 115.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/8.263, allocations: 9.031 kB / 3.754 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/8.268, allocations: 0.7843 MB / 3.755 GB, free: 115 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/8.286, allocations: 7.585 MB / 3.762 GB, free: 107.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/8.286, allocations: 176 kB / 3.762 GB, free: 107.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/8.288, allocations: 327.8 kB / 3.763 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01276/8.301, allocations: 5.668 MB / 3.768 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/8.317, allocations: 6.749 MB / 3.775 GB, free: 94.35 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/8.317, allocations: 15.84 kB / 3.775 GB, free: 94.34 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007162/8.318, allocations: 8 kB / 3.775 GB, free: 94.33 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/8.318, allocations: 230.4 kB / 3.775 GB, free: 94.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0387/8.357, allocations: 29.43 MB / 3.804 GB, free: 63.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/8.361, allocations: 3.334 MB / 3.807 GB, free: 60.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/8.363, allocations: 2.701 MB / 3.81 GB, free: 57.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/8.364, allocations: 0.8334 MB / 3.81 GB, free: 56.58 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/8.364, allocations: 68.61 kB / 3.811 GB, free: 56.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 4.058e-06/8.364, allocations: 0 / 3.811 GB, free: 56.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.005921/8.37, allocations: 3.668 MB / 3.814 GB, free: 52.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/8.37, allocations: 81.5 kB / 3.814 GB, free: 52.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005878/8.376, allocations: 4.071 MB / 3.818 GB, free: 48.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000708/8.377, allocations: 29.7 kB / 3.818 GB, free: 48.56 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/8.379, allocations: 2.16 MB / 3.82 GB, free: 46.37 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/8.38, allocations: 0.9047 MB / 3.821 GB, free: 45.45 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/8.381, allocations: 0 / 3.821 GB, free: 45.45 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001939/8.381, allocations: 457.9 kB / 3.822 GB, free: 45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/8.383, allocations: 1.604 MB / 3.823 GB, free: 43.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/8.385, allocations: 2.838 MB / 3.826 GB, free: 40 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/8.388, allocations: 2.351 MB / 3.828 GB, free: 37.63 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/8.388, allocations: 12 kB / 3.828 GB, free: 37.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00759/8.396, allocations: 5.067 MB / 3.833 GB, free: 32.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/8.396, allocations: 8.219 kB / 3.833 GB, free: 32.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/8.396, allocations: 43.94 kB / 3.833 GB, free: 32.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/8.397, allocations: 420.3 kB / 3.834 GB, free: 32.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/8.4, allocations: 0.8502 MB / 3.834 GB, free: 31.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/8.404, allocations: 4.985 MB / 3.839 GB, free: 25.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005597/8.41, allocations: 0.4957 MB / 3.84 GB, free: 25.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008954/8.411, allocations: 184 kB / 3.84 GB, free: 25.28 MB / 1.151 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 () * 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 (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.001444/8.412, allocations: 219.7 kB / 3.84 GB, free: 25.06 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/8.414, allocations: 426.8 kB / 3.841 GB, free: 24.64 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008447/8.423, allocations: 4.067 MB / 3.845 GB, free: 20.51 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/8.423, allocations: 27.98 kB / 3.845 GB, free: 20.48 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-05/8.423, allocations: 8 kB / 3.845 GB, free: 20.47 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005411/8.428, allocations: 3.584 MB / 3.848 GB, free: 16.78 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/8.45, allocations: 9.54 MB / 3.857 GB, free: 7.078 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/8.45, allocations: 4 kB / 3.857 GB, free: 7.074 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/8.452, allocations: 495.7 kB / 3.858 GB, free: 6.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007658/8.453, allocations: 376.4 kB / 3.858 GB, free: 6.219 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/8.453, allocations: 47.95 kB / 3.858 GB, free: 6.172 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/8.457, allocations: 4.904 MB / 3.863 GB, free: 1.039 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/8.457, allocations: 11.94 kB / 3.863 GB, free: 1.027 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0106/8.468, allocations: 6.689 MB / 3.87 GB, free: 9.992 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003833/8.472, allocations: 1.128 MB / 3.871 GB, free: 8.84 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001824/8.474, allocations: 19.98 kB / 3.871 GB, free: 8.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004572/8.478, allocations: 219.3 kB / 3.871 GB, free: 8.605 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004808/8.479, allocations: 153.6 kB / 3.871 GB, free: 8.453 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005972/8.479, allocations: 131.9 kB / 3.871 GB, free: 8.324 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.00685/8.486, allocations: 3.109 MB / 3.874 GB, free: 5.211 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00877/8.495, allocations: 1.838 MB / 3.876 GB, free: 3.367 MB / 1.167 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 () * 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 (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.001946/8.497, allocations: 0.6936 MB / 3.877 GB, free: 2.676 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.4436/8.941, allocations: 4.018 MB / 3.881 GB, free: 334.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/8.941, allocations: 5.656 kB / 3.881 GB, free: 334.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002664/8.943, allocations: 1.92 MB / 3.883 GB, free: 334.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/8.954, allocations: 2.244 MB / 3.885 GB, free: 334.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/8.971, allocations: 10.51 MB / 3.895 GB, free: 332.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004682/8.975, allocations: 4.796 MB / 3.9 GB, free: 331.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.001e-06/8.975, allocations: 3 kB / 3.9 GB, free: 331.5 MB / 1.167 GB Notification: Performance of Templates: time 0.1233/9.099, allocations: 85.5 MB / 3.983 GB, free: 328.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches