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.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001051/0.001051, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.000913/0.000913, allocations: 100.9 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.189e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1809, allocations: 106.3 MB / 0.8918 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7122/0.8931, allocations: 152.9 MB / 1.041 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.8936, allocations: 125 kB / 1.041 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04567/0.9393, allocations: 15.26 MB / 1.056 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9393, allocations: 0 / 1.056 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.9393, allocations: 0 / 1.056 GB, free: 0.6133 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000927/0.9402, allocations: 0.5529 MB / 1.057 GB, free: 24 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.9403, allocations: 8.031 kB / 1.057 GB, free: 16 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.9404, allocations: 87.45 kB / 1.057 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.9406, allocations: 251.2 kB / 1.057 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.9407, allocations: 150.6 kB / 1.057 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.9407, allocations: 154.6 kB / 1.057 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.9408, allocations: 108.9 kB / 1.057 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.9408, allocations: 75.28 kB / 1.057 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.9409, allocations: 150.6 kB / 1.058 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.941, allocations: 150.6 kB / 1.058 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.391e-05/0.941, allocations: 154.5 kB / 1.058 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.9414, allocations: 471.8 kB / 1.058 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.875e-05/0.9415, allocations: 173.1 kB / 1.059 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.9415, allocations: 80.14 kB / 1.059 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.9416, allocations: 75.28 kB / 1.059 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.9416, allocations: 113.2 kB / 1.059 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9416, allocations: 0 / 1.059 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.92e-05/0.9417, allocations: 41.53 kB / 1.059 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.9418, allocations: 126.7 kB / 1.059 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.9419, allocations: 124.5 kB / 1.059 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.9419, allocations: 28.77 kB / 1.059 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.942, allocations: 89.64 kB / 1.059 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.942, allocations: 0 / 1.059 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.942, allocations: 0 / 1.059 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9421, allocations: 325.6 kB / 1.06 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.9421, allocations: 4 kB / 1.06 GB, free: 13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.9421, allocations: 15.06 kB / 1.06 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.9422, allocations: 4 kB / 1.06 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9422, allocations: 0 / 1.06 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/0.9423, allocations: 55.97 kB / 1.06 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.9423, allocations: 4 kB / 1.06 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.9423, allocations: 4 kB / 1.06 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9424, allocations: 0 / 1.06 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.9424, allocations: 4.062 kB / 1.06 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.9424, allocations: 0 / 1.06 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.9424, allocations: 4 kB / 1.06 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.9424, allocations: 0 / 1.06 GB, free: 12.92 MB / 0.6823 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 8.427e-05/0.9425, allocations: 184.2 kB / 1.06 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.9426, allocations: 108.9 kB / 1.06 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.9426, allocations: 115.7 kB / 1.06 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/0.9427, allocations: 188.4 kB / 1.06 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.777e-05/0.9428, allocations: 180.3 kB / 1.06 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.328e-05/0.9428, allocations: 180.2 kB / 1.061 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.943, allocations: 419.9 kB / 1.061 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.9431, allocations: 101 kB / 1.061 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.9431, allocations: 104.9 kB / 1.061 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.9432, allocations: 184.3 kB / 1.061 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.9432, allocations: 183.5 kB / 1.061 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.528e-05/0.9433, allocations: 176.3 kB / 1.062 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-05/0.9433, allocations: 180.2 kB / 1.062 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.9435, allocations: 318.9 kB / 1.062 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.9435, allocations: 182 kB / 1.062 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.9436, allocations: 180.2 kB / 1.062 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.9437, allocations: 105.9 kB / 1.063 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.9438, allocations: 183.3 kB / 1.063 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.9438, allocations: 105 kB / 1.063 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.238e-05/0.9439, allocations: 107.9 kB / 1.063 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9439, allocations: 0 / 1.063 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009637/0.9449, allocations: 322 kB / 1.063 GB, free: 9.008 MB / 0.6823 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.001105/0.946, allocations: 0.589 MB / 1.064 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.9461, allocations: 36.95 kB / 1.064 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9461, allocations: 0 / 1.064 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-06/0.9461, allocations: 12 kB / 1.064 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.9464, allocations: 0.5284 MB / 1.064 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.9467, allocations: 151.5 kB / 1.065 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.947, allocations: 0.6887 MB / 1.065 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.947, allocations: 4 kB / 1.065 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.947, allocations: 7.438 kB / 1.065 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.947, allocations: 0 / 1.065 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of Templates: time 0.009134/0.9562, allocations: 5.409 MB / 1.07 GB, free: 1.598 MB / 0.6823 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