Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") [: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.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 6.914 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.001025/0.001025, allocations: 181.1 kB / 316 MB, free: 3.531 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.071/1.071, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008262/0.0008263, allocations: 90.02 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.342e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5754, allocations: 140 MB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.5756, allocations: 97.73 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.04942/0.6251, allocations: 15.69 MB / 1.037 GB, free: 1.559 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.6251, allocations: 8 kB / 1.037 GB, free: 1.551 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001839/0.627, allocations: 0.8003 MB / 1.038 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.627, allocations: 8.031 kB / 1.038 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.6271, allocations: 47.44 kB / 1.038 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.6276, allocations: 370.3 kB / 1.038 GB, free: 316 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6276, allocations: 8 kB / 1.038 GB, free: 308 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.6277, allocations: 20 kB / 1.038 GB, free: 288 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002424/0.628, allocations: 163 kB / 1.038 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.6282, allocations: 193.8 kB / 1.038 GB, free: 12 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.6282, allocations: 0 / 1.038 GB, free: 12 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.6283, allocations: 3.906 kB / 1.038 GB, free: 8 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6283, allocations: 4 kB / 1.038 GB, free: 4 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.6295, allocations: 0.9531 MB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.6299, allocations: 288.9 kB / 1.04 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.63, allocations: 136.3 kB / 1.04 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.6301, allocations: 4 kB / 1.04 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.6301, allocations: 37.56 kB / 1.04 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.6301, allocations: 0 / 1.04 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24): time 0.0005733/0.6307, allocations: 329.2 kB / 1.04 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.6307, allocations: 55.41 kB / 1.04 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.631, allocations: 329.5 kB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.6311, allocations: 29.64 kB / 1.04 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.6312, allocations: 146.6 kB / 1.041 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.6313, allocations: 88.59 kB / 1.041 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.6313, allocations: 0 / 1.041 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6314, allocations: 352.6 kB / 1.041 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.6319, allocations: 337 kB / 1.041 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.6324, allocations: 394.4 kB / 1.042 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.6329, allocations: 375.7 kB / 1.042 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.6329, allocations: 4 kB / 1.042 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001273/0.6342, allocations: 0.8683 MB / 1.043 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.6342, allocations: 8 kB / 1.043 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6342, allocations: 3.984 kB / 1.043 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.6344, allocations: 20.23 kB / 1.043 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/0.6353, allocations: 147.6 kB / 1.043 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009514/0.6362, allocations: 1.3 MB / 1.044 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6377, allocations: 91.33 kB / 1.044 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.6378, allocations: 23.05 kB / 1.044 GB, free: 10.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.6379, allocations: 114.2 kB / 1.045 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.638, allocations: 31.53 kB / 1.045 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.638, allocations: 31.86 kB / 1.045 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6381, allocations: 4 kB / 1.045 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6381, allocations: 3.938 kB / 1.045 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6381, allocations: 3.984 kB / 1.045 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.6385, allocations: 482.5 kB / 1.045 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6385, allocations: 0 / 1.045 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.6388, allocations: 43.72 kB / 1.045 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.661e-05/0.6389, allocations: 24.16 kB / 1.045 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.6389, allocations: 8 kB / 1.045 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008708/0.6398, allocations: 1.292 MB / 1.046 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6398, allocations: 0 / 1.046 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006337/0.6405, allocations: 0.588 MB / 1.047 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.6406, allocations: 114.2 kB / 1.047 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.6406, allocations: 6.438 kB / 1.047 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.6413, allocations: 19.91 kB / 1.047 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.6413, allocations: 19.97 kB / 1.047 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.6414, allocations: 6.938 kB / 1.047 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001791/0.6416, allocations: 239.6 kB / 1.047 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006848/0.6422, allocations: 259.9 kB / 1.048 GB, free: 7.477 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002953/0.6425, allocations: 242.1 kB / 1.048 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000895/0.6435, allocations: 0.6935 MB / 1.049 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6435, allocations: 0 / 1.049 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.6437, allocations: 248.7 kB / 1.049 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.6441, allocations: 72.53 kB / 1.049 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.6457, allocations: 1.172 MB / 1.05 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.6463, allocations: 0.8713 MB / 1.051 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of SimCode: time 3.1e-07/0.6463, allocations: 4 kB / 1.051 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of Templates: time 0.0115/0.6578, allocations: 7.95 MB / 1.059 GB, free: 12.56 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches