Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [: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.197/1.197, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001114/0.001115, allocations: 177.2 kB / 316 MB, free: 3.547 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.052/1.052, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0007881/0.0007881, allocations: 103.2 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.083e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5742, allocations: 136.3 MB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5745, allocations: 114.5 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01692/0.5914, allocations: 5.802 MB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5915, allocations: 0 / 1.023 GB, free: 13.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003342/0.5918, allocations: 393.2 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.5918, allocations: 8.031 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.5919, allocations: 2.625 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.592, allocations: 171 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.592, allocations: 3.938 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.592, allocations: 0 / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.069e-05/0.5921, allocations: 11.98 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.448e-05/0.5921, allocations: 41.27 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.5922, allocations: 0 / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.5922, allocations: 3.906 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5922, allocations: 0 / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.5923, allocations: 137.2 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.5924, allocations: 37.48 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.5924, allocations: 16.14 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007753/0.5932, allocations: 0.9812 MB / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.5932, allocations: 30.56 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5933, allocations: 0 / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001683/0.5934, allocations: 56.91 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.5935, allocations: 55.41 kB / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.5935, allocations: 96.42 kB / 1.025 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.5935, allocations: 25.7 kB / 1.025 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.5936, allocations: 88.83 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.5936, allocations: 19.23 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.5936, allocations: 0 / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.5937, allocations: 310.8 kB / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.5937, allocations: 4 kB / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.5937, allocations: 7.312 kB / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.5938, allocations: 16.11 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5938, allocations: 0.8438 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000101/0.5939, allocations: 60.78 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5939, allocations: 4 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.5939, allocations: 3.938 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5939, allocations: 0 / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.5941, allocations: 19.98 kB / 1.026 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5941, allocations: 0 / 1.026 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.5941, allocations: 0 / 1.026 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5941, allocations: 4 kB / 1.026 GB, free: 10.52 MB / 0.6511 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.5942, allocations: 104.9 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.5942, allocations: 3.906 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.5943, allocations: 68.8 kB / 1.026 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5943, allocations: 3.938 kB / 1.026 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5943, allocations: 0 / 1.026 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5944, allocations: 4 kB / 1.026 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.426e-05/0.5944, allocations: 142.1 kB / 1.026 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5944, allocations: 0 / 1.026 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.5945, allocations: 19.92 kB / 1.026 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5945, allocations: 0 / 1.026 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.5945, allocations: 0 / 1.026 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5946, allocations: 4 kB / 1.026 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5946, allocations: 4 kB / 1.026 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001053/0.5947, allocations: 72.22 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.5947, allocations: 89 kB / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.5947, allocations: 0 / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.5948, allocations: 0 / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-06/0.5948, allocations: 0 / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.5948, allocations: 4 kB / 1.026 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.073e-05/0.5948, allocations: 87.22 kB / 1.027 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002146/0.5951, allocations: 47.92 kB / 1.027 GB, free: 9.809 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002235/0.5953, allocations: 163 kB / 1.027 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.803e-05/0.5954, allocations: 15.19 kB / 1.027 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5954, allocations: 0 / 1.027 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.5954, allocations: 11.44 kB / 1.027 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.5955, allocations: 4 kB / 1.027 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.5957, allocations: 75.12 kB / 1.027 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.5959, allocations: 0.6915 MB / 1.028 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.5959, allocations: 0 / 1.028 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of Templates: time 0.002935/0.5989, allocations: 1.117 MB / 1.029 GB, free: 7.758 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches