Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [: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 10.0.0-master/package.mo): time 1.979/1.979, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001008/0.001007, allocations: 189.2 kB / 490.8 MB, free: 1.961 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.336/1.336, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 89.91 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.602e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8732/1.102, allocations: 419.2 MB / 1.621 GB, free: 12.44 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/1.103, allocations: 90.55 kB / 1.621 GB, free: 12.39 MB / 1.042 GB Notification: Performance of FrontEnd: time 7.459/8.561, allocations: 2.254 GB / 3.875 GB, free: 97.49 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001039/8.562, allocations: 191.8 kB / 3.875 GB, free: 97.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01782/8.58, allocations: 6.092 MB / 3.881 GB, free: 91.13 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/8.58, allocations: 8.031 kB / 3.881 GB, free: 91.12 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/8.585, allocations: 0.85 MB / 3.882 GB, free: 90.27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/8.603, allocations: 8.021 MB / 3.889 GB, free: 82.18 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/8.604, allocations: 196 kB / 3.89 GB, free: 81.99 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/8.606, allocations: 352 kB / 3.89 GB, free: 81.64 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01376/8.62, allocations: 6.506 MB / 3.896 GB, free: 75.13 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/8.637, allocations: 7.596 MB / 3.904 GB, free: 67.21 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002145/8.638, allocations: 15.88 kB / 3.904 GB, free: 67.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/8.639, allocations: 16 kB / 3.904 GB, free: 67.18 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/8.639, allocations: 247.5 kB / 3.904 GB, free: 66.94 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04497/8.684, allocations: 33.94 MB / 3.937 GB, free: 31.44 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/8.688, allocations: 3.963 MB / 3.941 GB, free: 27.49 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/8.692, allocations: 3.158 MB / 3.944 GB, free: 24.33 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009936/8.693, allocations: 0.9622 MB / 3.945 GB, free: 23.18 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002681/8.695, allocations: 2.241 MB / 3.947 GB, free: 20.91 MB / 1.167 GB Notification: Performance of pre-optimization done (n=317): time 4.899e-06/8.695, allocations: 0 / 3.947 GB, free: 20.91 MB / 1.167 GB Notification: Performance of matching and sorting (n=317): time 0.007306/8.703, allocations: 4.755 MB / 3.952 GB, free: 16.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/8.703, allocations: 85.91 kB / 3.952 GB, free: 16 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005806/8.709, allocations: 4.421 MB / 3.956 GB, free: 11.59 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005265/8.709, allocations: 33.7 kB / 3.956 GB, free: 11.55 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002348/8.711, allocations: 2.426 MB / 3.959 GB, free: 9.09 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/8.713, allocations: 1.086 MB / 3.96 GB, free: 7.988 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/8.713, allocations: 0 / 3.96 GB, free: 7.988 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001899/8.714, allocations: 491.6 kB / 3.96 GB, free: 7.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/8.716, allocations: 2.058 MB / 3.962 GB, free: 5.434 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/8.719, allocations: 3.562 MB / 3.966 GB, free: 1.172 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4008/9.119, allocations: 3.125 MB / 3.969 GB, free: 287 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.101e-05/9.12, allocations: 14.22 kB / 3.969 GB, free: 287 MB / 1.167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01118/9.131, allocations: 6.452 MB / 3.975 GB, free: 286.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/9.131, allocations: 6.656 kB / 3.975 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.909e-05/9.131, allocations: 49.41 kB / 3.975 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/9.132, allocations: 434.3 kB / 3.976 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/9.136, allocations: 1.014 MB / 3.977 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/9.14, allocations: 5.017 MB / 3.981 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006156/9.147, allocations: 0.5979 MB / 3.982 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009073/9.148, allocations: 214.4 kB / 3.982 GB, free: 284.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.0009367/9.148, allocations: 262.7 kB / 3.982 GB, free: 284.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/9.15, allocations: 477 kB / 3.983 GB, free: 284.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/9.159, allocations: 5.293 MB / 3.988 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/9.159, allocations: 40.17 kB / 3.988 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/9.159, allocations: 5.312 kB / 3.988 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006278/9.165, allocations: 4.637 MB / 3.993 GB, free: 283.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/9.188, allocations: 11.51 MB / 4.004 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/9.188, allocations: 3.719 kB / 4.004 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/9.191, allocations: 0.6142 MB / 4.005 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007717/9.192, allocations: 365.1 kB / 4.005 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/9.192, allocations: 47.45 kB / 4.005 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/9.196, allocations: 4.937 MB / 4.01 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/9.197, allocations: 0 / 4.01 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01084/9.207, allocations: 7.966 MB / 4.018 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004147/9.212, allocations: 1.261 MB / 4.019 GB, free: 279.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/9.213, allocations: 13.84 kB / 4.019 GB, free: 279.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/9.217, allocations: 319.5 kB / 4.019 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/9.218, allocations: 173.3 kB / 4.019 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/9.218, allocations: 136.2 kB / 4.019 GB, free: 279 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.005599/9.223, allocations: 3.363 MB / 4.023 GB, free: 278.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01126/9.235, allocations: 2.027 MB / 4.025 GB, free: 278.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.002199/9.237, allocations: 0.7775 MB / 4.025 GB, free: 278.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007515/9.245, allocations: 5.101 MB / 4.03 GB, free: 278.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/9.245, allocations: 3.125 kB / 4.03 GB, free: 278.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003167/9.248, allocations: 2.402 MB / 4.033 GB, free: 278.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01336/9.261, allocations: 2.37 MB / 4.035 GB, free: 278.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/9.283, allocations: 11.74 MB / 4.046 GB, free: 276.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006227/9.289, allocations: 5.179 MB / 4.052 GB, free: 275.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.583e-06/9.289, allocations: 0 / 4.052 GB, free: 275.3 MB / 1.167 GB Notification: Performance of Templates: time 0.136/9.425, allocations: 95.94 MB / 4.145 GB, free: 271.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches