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.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 185.4 kB / 326.5 MB, free: 2.254 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.655/1.655, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001125/0.001125, allocations: 99.17 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 9.406 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 106.3 MB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.3854, allocations: 153 MB / 1.05 GB, free: 7.242 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/0.3858, allocations: 123.9 kB / 1.05 GB, free: 7.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4891/0.875, allocations: 15.33 MB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.875, allocations: 4 kB / 1.065 GB, free: 151.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.875, allocations: 0.8125 kB / 1.065 GB, free: 151.2 MB / 0.698 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.001236/0.8763, allocations: 0.5667 MB / 1.065 GB, free: 150.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.8763, allocations: 8.688 kB / 1.065 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.8764, allocations: 90.75 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.8765, allocations: 251.1 kB / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.8766, allocations: 152.2 kB / 1.066 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.8766, allocations: 155.6 kB / 1.066 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.769e-05/0.8767, allocations: 102.3 kB / 1.066 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.8767, allocations: 76.25 kB / 1.066 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.8767, allocations: 152 kB / 1.066 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.8768, allocations: 152.2 kB / 1.066 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.8768, allocations: 161.8 kB / 1.066 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.8771, allocations: 465.5 kB / 1.067 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.089e-05/0.8771, allocations: 166.5 kB / 1.067 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.8772, allocations: 76.19 kB / 1.067 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.8772, allocations: 114.7 kB / 1.067 GB, free: 148.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8772, allocations: 0 / 1.067 GB, free: 148.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.095e-05/0.8773, allocations: 36.77 kB / 1.067 GB, free: 148.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.8773, allocations: 127.4 kB / 1.067 GB, free: 148.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.8775, allocations: 123.5 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.8775, allocations: 27.06 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.8775, allocations: 90.61 kB / 1.068 GB, free: 148.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.8775, allocations: 0 / 1.068 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.8776, allocations: 8 kB / 1.068 GB, free: 148.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.8776, allocations: 320.1 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.8777, allocations: 6.344 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.8777, allocations: 3.719 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.8777, allocations: 12.94 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8777, allocations: 0 / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/0.8779, allocations: 53.44 kB / 1.068 GB, free: 147.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8779, allocations: 4.719 kB / 1.068 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.8779, allocations: 4.281 kB / 1.068 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.8779, allocations: 64 / 1.068 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.878, allocations: 6.562 kB / 1.068 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.878, allocations: 0 / 1.068 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.878, allocations: 0.9688 kB / 1.068 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.878, allocations: 2.469 kB / 1.068 GB, free: 147.8 MB / 0.698 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 () * Number of clocked 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 7.518e-05/0.8781, allocations: 189.8 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.8781, allocations: 108.2 kB / 1.068 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.8782, allocations: 112.3 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-05/0.8782, allocations: 185.5 kB / 1.069 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.368e-05/0.8783, allocations: 180.6 kB / 1.069 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.8783, allocations: 185.9 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.8785, allocations: 415.7 kB / 1.069 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.8785, allocations: 106.2 kB / 1.069 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.8786, allocations: 107 kB / 1.069 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.984e-05/0.8786, allocations: 177.6 kB / 1.07 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.8786, allocations: 185.6 kB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.291e-05/0.8787, allocations: 178.4 kB / 1.07 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.255e-05/0.8787, allocations: 181.9 kB / 1.07 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.848e-05/0.8788, allocations: 314.1 kB / 1.07 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.8789, allocations: 191 kB / 1.071 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.8789, allocations: 179.1 kB / 1.071 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.879, allocations: 106.5 kB / 1.071 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.8791, allocations: 180.5 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.8791, allocations: 115.3 kB / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.8792, allocations: 102.5 kB / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8792, allocations: 0 / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001554/0.8807, allocations: 326.2 kB / 1.072 GB, free: 144.2 MB / 0.698 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 () * Number of clocked 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.001378/0.8821, allocations: 0.5716 MB / 1.072 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.8822, allocations: 38.47 kB / 1.072 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8822, allocations: 4.812 kB / 1.072 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-06/0.8822, allocations: 0.75 kB / 1.072 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.8825, allocations: 0.5273 MB / 1.073 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.8828, allocations: 270 kB / 1.073 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.883, allocations: 0.6862 MB / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.5e-05/0.883, allocations: 0 / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-06/0.883, allocations: 9.719 kB / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.883, allocations: 0.6562 kB / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of Templates: time 0.009864/0.8929, allocations: 5.347 MB / 1.079 GB, free: 142 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches