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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, 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.001084/0.001084, allocations: 175.4 kB / 326.5 MB, free: 2.242 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.605/1.605, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009244/0.0009245, allocations: 98.08 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.00045, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2458, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.4268, allocations: 152.9 MB / 1.05 GB, free: 6.691 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/0.4272, allocations: 123.9 kB / 1.05 GB, free: 6.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4821/0.9093, allocations: 15.33 MB / 1.065 GB, free: 151.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9093, allocations: 0 / 1.065 GB, free: 151.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.9093, allocations: 0.875 kB / 1.065 GB, free: 151.1 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.001163/0.9105, allocations: 0.568 MB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9106, allocations: 8.75 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.9106, allocations: 86.67 kB / 1.065 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.9107, allocations: 249.8 kB / 1.065 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.9108, allocations: 150.6 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.9108, allocations: 151.5 kB / 1.066 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.639e-05/0.9109, allocations: 113.1 kB / 1.066 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.9109, allocations: 75.28 kB / 1.066 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.9109, allocations: 151.5 kB / 1.066 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.911, allocations: 151.4 kB / 1.066 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.911, allocations: 152.4 kB / 1.066 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.9113, allocations: 470 kB / 1.067 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.9113, allocations: 172 kB / 1.067 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.9113, allocations: 76.41 kB / 1.067 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.9114, allocations: 106.9 kB / 1.067 GB, free: 148.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.9114, allocations: 0 / 1.067 GB, free: 148.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.124e-05/0.9115, allocations: 40.89 kB / 1.067 GB, free: 148.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.9115, allocations: 132.6 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.9116, allocations: 118.7 kB / 1.067 GB, free: 148.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.9117, allocations: 26.89 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.9117, allocations: 96.55 kB / 1.068 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.9117, allocations: 0 / 1.068 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.9117, allocations: 0.75 kB / 1.068 GB, free: 148.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.9118, allocations: 320.4 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.9118, allocations: 10.72 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.9118, allocations: 7.781 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.9119, allocations: 10.81 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9119, allocations: 0 / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001375/0.912, allocations: 47.67 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.9121, allocations: 5.438 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.9121, allocations: 3.344 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.9121, allocations: 0 / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.094e-06/0.9121, allocations: 0.9375 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.9121, allocations: 4.469 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.9122, allocations: 8.969 kB / 1.068 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.9122, allocations: 0.9688 kB / 1.068 GB, free: 147.7 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 6.507e-05/0.9122, allocations: 195.5 kB / 1.068 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.9123, allocations: 111.4 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.9123, allocations: 110.8 kB / 1.068 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.9124, allocations: 184.9 kB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.657e-05/0.9124, allocations: 185.1 kB / 1.069 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.9124, allocations: 181.1 kB / 1.069 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.9126, allocations: 417.5 kB / 1.069 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.9126, allocations: 105.3 kB / 1.069 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.9126, allocations: 105.5 kB / 1.07 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/0.9126, allocations: 176.9 kB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.9127, allocations: 189.2 kB / 1.07 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.429e-05/0.9127, allocations: 181 kB / 1.07 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.569e-05/0.9127, allocations: 181.3 kB / 1.07 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.384e-05/0.9128, allocations: 308.4 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.9129, allocations: 193.2 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.9129, allocations: 182 kB / 1.071 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/0.913, allocations: 105.7 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.913, allocations: 181 kB / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.913, allocations: 102.4 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.9131, allocations: 108.6 kB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9131, allocations: 4 kB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001436/0.9146, allocations: 323.6 kB / 1.072 GB, free: 144 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.001857/0.9164, allocations: 0.5581 MB / 1.072 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.9165, allocations: 45.14 kB / 1.072 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9165, allocations: 0.625 kB / 1.072 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.9166, allocations: 0.5938 kB / 1.072 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.9168, allocations: 0.5341 MB / 1.073 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.9171, allocations: 267.5 kB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.9173, allocations: 0.6849 MB / 1.074 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.9173, allocations: 4.719 kB / 1.074 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.9173, allocations: 9.219 kB / 1.074 GB, free: 142.3 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/0.9173, allocations: 0.5625 kB / 1.074 GB, free: 142.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01362/0.9309, allocations: 5.353 MB / 1.079 GB, free: 141.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x