Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [: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.998/1.998, 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.001301/0.001301, allocations: 177.3 kB / 487 MB, free: 5.371 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.437/1.437, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.001154/0.001154, allocations: 97.92 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.05e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2713, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7324/1.004, allocations: 151.5 MB / 1.353 GB, free: 16.1 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/1.004, allocations: 87.19 kB / 1.353 GB, free: 16.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01351/1.018, allocations: 3.187 MB / 1.356 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.675e-06/1.018, allocations: 0.875 kB / 1.356 GB, free: 15.86 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000272/1.018, allocations: 363 kB / 1.357 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.018, allocations: 9.281 kB / 1.357 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/1.018, allocations: 81.78 kB / 1.357 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/1.018, allocations: 271.5 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/1.018, allocations: 152.5 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/1.018, allocations: 150.6 kB / 1.357 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.951e-05/1.018, allocations: 155.2 kB / 1.358 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.871e-05/1.018, allocations: 102.3 kB / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.018, allocations: 83.22 kB / 1.358 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/1.018, allocations: 153.6 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/1.018, allocations: 151.4 kB / 1.358 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/1.019, allocations: 442.9 kB / 1.358 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/1.019, allocations: 173.1 kB / 1.359 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/1.019, allocations: 80.83 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/1.019, allocations: 75.84 kB / 1.359 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/1.019, allocations: 109.2 kB / 1.359 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/1.019, allocations: 0 / 1.359 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.526e-05/1.019, allocations: 41.14 kB / 1.359 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/1.019, allocations: 56.03 kB / 1.359 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/1.019, allocations: 117 kB / 1.359 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/1.019, allocations: 26.48 kB / 1.359 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/1.019, allocations: 88.41 kB / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/1.019, allocations: 0 / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/1.019, allocations: 0 / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/1.019, allocations: 321.5 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/1.019, allocations: 4.094 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/1.019, allocations: 5.938 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/1.019, allocations: 28.09 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.019, allocations: 1.422 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002064/1.02, allocations: 72.78 kB / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.02, allocations: 4.781 kB / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.02, allocations: 2.453 kB / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/1.02, allocations: 0.8438 kB / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-06/1.02, allocations: 0.6562 kB / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.02, allocations: 0.9688 kB / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/1.02, allocations: 0 / 1.36 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/1.02, allocations: 2.453 kB / 1.36 GB, free: 12.63 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.336e-05/1.02, allocations: 185.1 kB / 1.36 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/1.02, allocations: 112.2 kB / 1.36 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/1.02, allocations: 112 kB / 1.36 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/1.02, allocations: 182.5 kB / 1.36 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.76e-05/1.02, allocations: 182.5 kB / 1.36 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/1.02, allocations: 181.8 kB / 1.36 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/1.02, allocations: 401.2 kB / 1.361 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.02, allocations: 102.8 kB / 1.361 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/1.02, allocations: 102.7 kB / 1.361 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-05/1.02, allocations: 181.6 kB / 1.361 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/1.02, allocations: 182.3 kB / 1.361 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-05/1.02, allocations: 180.9 kB / 1.362 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.883e-05/1.02, allocations: 186 kB / 1.362 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.106e-05/1.02, allocations: 310.5 kB / 1.362 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/1.02, allocations: 185.6 kB / 1.362 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/1.02, allocations: 186.3 kB / 1.362 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/1.02, allocations: 102.6 kB / 1.362 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/1.021, allocations: 182.5 kB / 1.363 GB, free: 25.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/1.021, allocations: 102.4 kB / 1.363 GB, free: 25.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.16e-05/1.021, allocations: 95.56 kB / 1.363 GB, free: 25.13 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003435/1.021, allocations: 41.66 kB / 1.363 GB, free: 25.12 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.000363/1.021, allocations: 238.3 kB / 1.363 GB, free: 24.94 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.325e-05/1.021, allocations: 41.59 kB / 1.363 GB, free: 24.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.021, allocations: 0.9375 kB / 1.363 GB, free: 24.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/1.021, allocations: 3.875 kB / 1.363 GB, free: 24.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/1.022, allocations: 0.5278 MB / 1.364 GB, free: 24.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/1.022, allocations: 142.5 kB / 1.364 GB, free: 24.23 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/1.022, allocations: 0.6937 MB / 1.364 GB, free: 23.53 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/1.022, allocations: 0 / 1.364 GB, free: 23.53 MB / 0.823 GB Notification: Performance of Templates: time 0.004248/1.027, allocations: 1.442 MB / 1.366 GB, free: 23.41 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches