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.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [: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: 7.066 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.0009788/0.0009788, allocations: 181.3 kB / 316 MB, free: 3.527 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.061/1.061, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008829/0.0008831, allocations: 82.92 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.004e-05, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.5863, allocations: 142.7 MB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5866, allocations: 109.3 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.05237/0.639, allocations: 21.65 MB / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.639, allocations: 19.5 kB / 1.045 GB, free: 10.2 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009221/0.64, allocations: 0.7671 MB / 1.046 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.64, allocations: 12.03 kB / 1.046 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.732e-05/0.6401, allocations: 75.16 kB / 1.046 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.6406, allocations: 433.9 kB / 1.046 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.6406, allocations: 20 kB / 1.047 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.6407, allocations: 28 kB / 1.047 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004791/0.6412, allocations: 308.1 kB / 1.047 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.6417, allocations: 327.1 kB / 1.047 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6417, allocations: 0 / 1.047 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.6418, allocations: 0 / 1.047 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6418, allocations: 15.94 kB / 1.047 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.6435, allocations: 1.455 MB / 1.049 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.6438, allocations: 255.5 kB / 1.049 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.6441, allocations: 270.4 kB / 1.049 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.6442, allocations: 7.984 kB / 1.049 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.6442, allocations: 33.81 kB / 1.049 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 1.403e-06/0.6442, allocations: 3.938 kB / 1.049 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0005233/0.6448, allocations: 311.6 kB / 1.049 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.6448, allocations: 55.41 kB / 1.049 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.6452, allocations: 371.6 kB / 1.05 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.6452, allocations: 25.7 kB / 1.05 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.6453, allocations: 213.7 kB / 1.05 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.6454, allocations: 139.2 kB / 1.05 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.6454, allocations: 3.938 kB / 1.05 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6455, allocations: 358.6 kB / 1.051 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.6457, allocations: 102.1 kB / 1.051 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6458, allocations: 98.94 kB / 1.051 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.646, allocations: 122.8 kB / 1.051 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.646, allocations: 0 / 1.051 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004175/0.6464, allocations: 327.3 kB / 1.051 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6464, allocations: 7.906 kB / 1.051 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6465, allocations: 0 / 1.051 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6465, allocations: 4 kB / 1.051 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.647, allocations: 130.9 kB / 1.051 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.647, allocations: 3.984 kB / 1.051 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.6473, allocations: 43.67 kB / 1.051 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.6473, allocations: 10.62 kB / 1.051 GB, free: 5.059 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 (46): * Single equations (assignments): 46 * 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 7.653e-05/0.6474, allocations: 109.5 kB / 1.051 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.6474, allocations: 43.44 kB / 1.051 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.427e-05/0.6475, allocations: 55.83 kB / 1.052 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6476, allocations: 4 kB / 1.052 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6476, allocations: 4 kB / 1.052 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6476, allocations: 3.906 kB / 1.052 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.6481, allocations: 0.4928 MB / 1.052 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6481, allocations: 7.906 kB / 1.052 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.6486, allocations: 130.6 kB / 1.052 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6486, allocations: 3.984 kB / 1.052 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.6486, allocations: 4 kB / 1.052 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6487, allocations: 0 / 1.052 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6487, allocations: 0 / 1.052 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006288/0.6493, allocations: 0.578 MB / 1.053 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.6494, allocations: 128.2 kB / 1.053 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.6495, allocations: 3.938 kB / 1.053 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.6497, allocations: 19.73 kB / 1.053 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.6498, allocations: 24.3 kB / 1.053 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.6498, allocations: 15.38 kB / 1.053 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002615/0.6501, allocations: 294.7 kB / 1.053 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003678/0.6504, allocations: 146.6 kB / 1.053 GB, free: 3.336 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0003389/0.6508, allocations: 256.5 kB / 1.054 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.6512, allocations: 279 kB / 1.054 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6512, allocations: 4 kB / 1.054 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.6514, allocations: 162.6 kB / 1.054 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.6519, allocations: 76.11 kB / 1.054 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.6533, allocations: 0.8948 MB / 1.055 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.6538, allocations: 0.9259 MB / 1.056 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/0.6538, allocations: 0 / 1.056 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of Templates: time 0.009416/0.6632, allocations: 5.328 MB / 1.061 GB, free: 11.75 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches