Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.001/2.001, 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.001048/0.001047, allocations: 185.2 kB / 487 MB, free: 5.367 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.348/1.348, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0009102/0.0009103, allocations: 97.98 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.438e-06/9.468e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2805, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7754/1.056, allocations: 152.9 MB / 1.355 GB, free: 16.01 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/1.056, allocations: 110.9 kB / 1.355 GB, free: 16.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02134/1.078, allocations: 5.946 MB / 1.36 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.425e-06/1.078, allocations: 0 / 1.36 GB, free: 15.49 MB / 0.8073 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.0004338/1.078, allocations: 387.6 kB / 1.361 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.078, allocations: 8.031 kB / 1.361 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/1.078, allocations: 8.703 kB / 1.361 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/1.079, allocations: 171.4 kB / 1.361 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/1.079, allocations: 4 kB / 1.361 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/1.079, allocations: 0 / 1.361 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.344e-05/1.079, allocations: 12.89 kB / 1.361 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/1.079, allocations: 36.31 kB / 1.361 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.079, allocations: 0 / 1.361 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.079, allocations: 4.797 kB / 1.361 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/1.079, allocations: 0 / 1.361 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/1.079, allocations: 138.3 kB / 1.361 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/1.079, allocations: 46.88 kB / 1.361 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/1.079, allocations: 9.453 kB / 1.361 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/1.08, allocations: 0.9836 MB / 1.362 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/1.08, allocations: 31.12 kB / 1.362 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/1.08, allocations: 3.938 kB / 1.362 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0002031/1.08, allocations: 53.11 kB / 1.362 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/1.08, allocations: 51.97 kB / 1.362 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/1.08, allocations: 99 kB / 1.362 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/1.08, allocations: 25.7 kB / 1.362 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.509e-05/1.08, allocations: 85.41 kB / 1.363 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.08, allocations: 16.78 kB / 1.363 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.08, allocations: 0 / 1.363 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/1.08, allocations: 312.6 kB / 1.363 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/1.08, allocations: 7.688 kB / 1.363 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/1.08, allocations: 4 kB / 1.363 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/1.08, allocations: 15.5 kB / 1.363 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.08, allocations: 0 / 1.363 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000101/1.08, allocations: 57.84 kB / 1.363 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.08, allocations: 4 kB / 1.363 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.08, allocations: 8 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/1.08, allocations: 4.734 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.081, allocations: 13.92 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.081, allocations: 4.062 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/1.081, allocations: 4.469 kB / 1.363 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/1.081, allocations: 0 / 1.363 GB, free: 12.6 MB / 0.8073 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 6.005e-05/1.081, allocations: 105.5 kB / 1.363 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/1.081, allocations: 3.906 kB / 1.363 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/1.081, allocations: 68.66 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.081, allocations: 0.7031 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.081, allocations: 0 / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.081, allocations: 0 / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.179e-05/1.081, allocations: 134.8 kB / 1.363 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/1.081, allocations: 0 / 1.363 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/1.081, allocations: 18.33 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.081, allocations: 4.656 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/1.081, allocations: 7 kB / 1.363 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.081, allocations: 0 / 1.363 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.081, allocations: 0 / 1.363 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001091/1.081, allocations: 82.55 kB / 1.363 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/1.081, allocations: 81.61 kB / 1.363 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/1.081, allocations: 8.547 kB / 1.364 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/1.081, allocations: 0 / 1.364 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/1.081, allocations: 4.938 kB / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/1.081, allocations: 0 / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.763e-05/1.081, allocations: 84.16 kB / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002824/1.082, allocations: 54.56 kB / 1.364 GB, free: 11.91 MB / 0.8073 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.0002741/1.082, allocations: 158.7 kB / 1.364 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.043e-05/1.082, allocations: 16.91 kB / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.082, allocations: 0 / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/1.082, allocations: 8 kB / 1.364 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/1.082, allocations: 10.16 kB / 1.364 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/1.082, allocations: 73.52 kB / 1.364 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/1.083, allocations: 0.6935 MB / 1.365 GB, free: 26.94 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/1.083, allocations: 0 / 1.365 GB, free: 26.94 MB / 0.823 GB Notification: Performance of Templates: time 0.003629/1.086, allocations: 1.125 MB / 1.366 GB, free: 25.99 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches