Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.933/1.933, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001176/0.001176, allocations: 186.3 kB / 490.8 MB, free: 1.973 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.357/1.357, 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.0009189/0.000919, allocations: 84.78 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.454e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7114/0.9613, allocations: 153.7 MB / 1.362 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.9616, allocations: 108.8 kB / 1.362 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01789/0.9795, allocations: 5.963 MB / 1.368 GB, free: 17.21 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.9795, allocations: 1.031 kB / 1.368 GB, free: 17.21 MB / 0.823 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.0005376/0.9801, allocations: 385.8 kB / 1.368 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.9801, allocations: 14.14 kB / 1.368 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.9802, allocations: 5.344 kB / 1.368 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.9803, allocations: 166.7 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.9803, allocations: 0.9062 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.9803, allocations: 8.875 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.588e-05/0.9804, allocations: 9.219 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.72e-05/0.9805, allocations: 39.02 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.9805, allocations: 0 / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.9805, allocations: 0 / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9806, allocations: 1.344 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.9807, allocations: 138.3 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.9808, allocations: 38.66 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.9808, allocations: 24.67 kB / 1.368 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.9815, allocations: 0.9771 MB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.9816, allocations: 38.38 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.9816, allocations: 1.344 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002022/0.9818, allocations: 46.81 kB / 1.369 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.9818, allocations: 51.41 kB / 1.37 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.9819, allocations: 101.1 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.9819, allocations: 27.02 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.982, allocations: 85.72 kB / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.982, allocations: 13.88 kB / 1.37 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.982, allocations: 0 / 1.37 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.9821, allocations: 316.2 kB / 1.37 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.9821, allocations: 11.62 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.9822, allocations: 2.875 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.9822, allocations: 10.8 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9822, allocations: 1.344 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.9823, allocations: 53.75 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.9824, allocations: 6.781 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9824, allocations: 0 / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9824, allocations: 4.906 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.9825, allocations: 13.59 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.9825, allocations: 5.75 kB / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.9825, allocations: 0 / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.9826, allocations: 5.375 kB / 1.37 GB, free: 30.53 MB / 0.8386 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.418e-05/0.9826, allocations: 113.2 kB / 1.37 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.9826, allocations: 1.719 kB / 1.37 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.9828, allocations: 75.39 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9828, allocations: 4 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9828, allocations: 0.9688 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.9828, allocations: 0 / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.405e-05/0.9829, allocations: 136.6 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9829, allocations: 5.406 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.983, allocations: 13.8 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.983, allocations: 1.438 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.983, allocations: 0 / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.983, allocations: 5.344 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9831, allocations: 0 / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001176/0.9832, allocations: 84.8 kB / 1.371 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.9832, allocations: 82.58 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.9832, allocations: 1.547 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.9833, allocations: 1.094 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.9833, allocations: 1.156 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.9833, allocations: 6.641 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.689e-05/0.9833, allocations: 79.34 kB / 1.371 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002393/0.9836, allocations: 51.67 kB / 1.371 GB, free: 29.94 MB / 0.8386 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.0002638/0.9839, allocations: 160 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.9839, allocations: 18.42 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.984, allocations: 0 / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.984, allocations: 16.19 kB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.9841, allocations: 5.609 kB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.9844, allocations: 68.48 kB / 1.371 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.9846, allocations: 0.6938 MB / 1.372 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/0.9846, allocations: 0 / 1.372 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.003769/0.9884, allocations: 1.114 MB / 1.373 GB, free: 28.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches