Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [: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 1.957/1.957, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001109/0.001109, allocations: 173.3 kB / 487 MB, free: 5.379 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.427/1.427, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.001081/0.001081, allocations: 102.4 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.556e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2926, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7985/1.091, allocations: 157.1 MB / 1.359 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/1.092, allocations: 106.3 kB / 1.359 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04304/1.135, allocations: 17.68 MB / 1.376 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.135, allocations: 8 kB / 1.376 GB, free: 3.203 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006054/1.135, allocations: 0.5834 MB / 1.377 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.135, allocations: 8.031 kB / 1.377 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/1.135, allocations: 51.42 kB / 1.377 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/1.136, allocations: 351.8 kB / 1.377 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/1.136, allocations: 8 kB / 1.377 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/1.136, allocations: 12 kB / 1.377 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002226/1.136, allocations: 127.3 kB / 1.377 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/1.136, allocations: 150 kB / 1.377 GB, free: 2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.136, allocations: 0 / 1.377 GB, free: 2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/1.136, allocations: 4 kB / 1.377 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.136, allocations: 8 kB / 1.377 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009283/1.137, allocations: 0.8224 MB / 1.378 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.137, allocations: 105.4 kB / 1.378 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/1.138, allocations: 93.2 kB / 1.378 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/1.138, allocations: 4 kB / 1.378 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/1.138, allocations: 30.88 kB / 1.378 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/1.138, allocations: 3.938 kB / 1.378 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.000278/1.138, allocations: 160.7 kB / 1.378 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/1.138, allocations: 55.34 kB / 1.378 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/1.138, allocations: 331.3 kB / 1.379 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/1.138, allocations: 29.7 kB / 1.379 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/1.138, allocations: 154.2 kB / 1.379 GB, free: 484 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/1.138, allocations: 53.55 kB / 1.379 GB, free: 436 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/1.138, allocations: 4 kB / 1.379 GB, free: 432 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/1.138, allocations: 343.5 kB / 1.379 GB, free: 92 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/1.139, allocations: 42.34 kB / 1.379 GB, free: 68 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/1.139, allocations: 48.52 kB / 1.379 GB, free: 40 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.903e-05/1.139, allocations: 45.42 kB / 1.379 GB, free: 16 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.139, allocations: 0 / 1.379 GB, free: 16 kB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002433/1.139, allocations: 165.6 kB / 1.38 GB, free: 15.88 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.139, allocations: 15.06 kB / 1.38 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.139, allocations: 0 / 1.38 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.139, allocations: 0 / 1.38 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/1.139, allocations: 59.72 kB / 1.38 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.139, allocations: 11.97 kB / 1.38 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/1.139, allocations: 15.84 kB / 1.38 GB, free: 15.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/1.14, allocations: 4 kB / 1.38 GB, free: 15.78 MB / 0.823 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 (20): * Single equations (assignments): 20 * 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 8.71e-05/1.14, allocations: 116.8 kB / 1.38 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.14, allocations: 31.62 kB / 1.38 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.969e-05/1.14, allocations: 37.19 kB / 1.38 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.14, allocations: 4 kB / 1.38 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.14, allocations: 0 / 1.38 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.14, allocations: 7.891 kB / 1.38 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/1.14, allocations: 335.8 kB / 1.38 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.14, allocations: 0 / 1.38 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/1.141, allocations: 55.97 kB / 1.38 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/1.141, allocations: 3.984 kB / 1.38 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/1.141, allocations: 4 kB / 1.38 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/1.141, allocations: 7.938 kB / 1.38 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.141, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003786/1.141, allocations: 325.2 kB / 1.381 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.141, allocations: 115.6 kB / 1.381 GB, free: 14.83 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/1.141, allocations: 11.97 kB / 1.381 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/1.141, allocations: 11.98 kB / 1.381 GB, free: 14.81 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/1.141, allocations: 7.984 kB / 1.381 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/1.141, allocations: 7.562 kB / 1.381 GB, free: 14.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002559/1.142, allocations: 259.9 kB / 1.381 GB, free: 14.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003266/1.142, allocations: 71.47 kB / 1.381 GB, free: 14.54 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0004332/1.142, allocations: 276.4 kB / 1.381 GB, free: 14.28 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002075/1.143, allocations: 106.6 kB / 1.381 GB, free: 14.21 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.143, allocations: 0 / 1.381 GB, free: 14.21 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/1.143, allocations: 60.94 kB / 1.382 GB, free: 14.17 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/1.143, allocations: 70.7 kB / 1.382 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.144, allocations: 0.5245 MB / 1.382 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/1.145, allocations: 0.8313 MB / 1.383 GB, free: 12.78 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.145, allocations: 0 / 1.383 GB, free: 12.78 MB / 0.823 GB Notification: Performance of Templates: time 0.008176/1.153, allocations: 3.625 MB / 1.386 GB, free: 9.266 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches