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.493/1.493, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001134/0.001134, allocations: 174.6 kB / 321.3 MB, free: 14.63 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.6/1.6, allocations: 205.1 MB / 0.572 GB, free: 10.6 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.001002/0.001002, allocations: 100.7 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.171e-05, allocations: 7.984 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1964, allocations: 106.3 MB / 0.8918 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7128/0.9092, allocations: 152.9 MB / 1.041 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.9096, allocations: 118 kB / 1.041 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04681/0.9564, allocations: 15.28 MB / 1.056 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9564, allocations: 0 / 1.056 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.9565, allocations: 0 / 1.056 GB, free: 0.5312 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.0008667/0.9573, allocations: 0.5474 MB / 1.057 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.9574, allocations: 12.03 kB / 1.057 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.9574, allocations: 87.45 kB / 1.057 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.9576, allocations: 243.4 kB / 1.057 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.9577, allocations: 157.7 kB / 1.057 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.9577, allocations: 150.6 kB / 1.057 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.479e-05/0.9578, allocations: 104.9 kB / 1.057 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.9578, allocations: 83.28 kB / 1.058 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.9579, allocations: 154.5 kB / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.9579, allocations: 150.6 kB / 1.058 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.958, allocations: 150.6 kB / 1.058 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.9583, allocations: 467.4 kB / 1.058 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.9584, allocations: 173.1 kB / 1.059 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.9584, allocations: 80.14 kB / 1.059 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.9584, allocations: 75.28 kB / 1.059 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.9585, allocations: 112.8 kB / 1.059 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.9585, allocations: 0 / 1.059 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.85e-05/0.9586, allocations: 29.61 kB / 1.059 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.9587, allocations: 138.6 kB / 1.059 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.9588, allocations: 121.3 kB / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.9588, allocations: 28.89 kB / 1.059 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.9589, allocations: 90.69 kB / 1.059 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.9589, allocations: 0 / 1.059 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.9589, allocations: 0 / 1.059 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.959, allocations: 318.8 kB / 1.06 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.959, allocations: 11.12 kB / 1.06 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.959, allocations: 7.938 kB / 1.06 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.9591, allocations: 10.61 kB / 1.06 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.9591, allocations: 0 / 1.06 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.9592, allocations: 47.36 kB / 1.06 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.9592, allocations: 8 kB / 1.06 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.9592, allocations: 4 kB / 1.06 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.9592, allocations: 0 / 1.06 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.9593, allocations: 0 / 1.06 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.9593, allocations: 0 / 1.06 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.9593, allocations: 4 kB / 1.06 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.9593, allocations: 11.98 kB / 1.06 GB, free: 12.84 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.413e-05/0.9594, allocations: 180.2 kB / 1.06 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.9595, allocations: 104.9 kB / 1.06 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.9595, allocations: 115.6 kB / 1.06 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-05/0.9596, allocations: 180.4 kB / 1.06 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-05/0.9597, allocations: 196.3 kB / 1.06 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.183e-05/0.9597, allocations: 180.2 kB / 1.061 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.96, allocations: 411.5 kB / 1.061 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.066e-05/0.96, allocations: 105 kB / 1.061 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.9601, allocations: 104.9 kB / 1.061 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.375e-05/0.9601, allocations: 184.2 kB / 1.061 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.9602, allocations: 187.5 kB / 1.061 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.645e-05/0.9603, allocations: 180.3 kB / 1.062 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.411e-05/0.9603, allocations: 176.3 kB / 1.062 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.9605, allocations: 315 kB / 1.062 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.9606, allocations: 190 kB / 1.062 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.9606, allocations: 176.3 kB / 1.062 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.9607, allocations: 101.9 kB / 1.063 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.9608, allocations: 191.8 kB / 1.063 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.9609, allocations: 101 kB / 1.063 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.9609, allocations: 96.47 kB / 1.063 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9609, allocations: 0 / 1.063 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009703/0.9619, allocations: 337.1 kB / 1.063 GB, free: 8.926 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.001032/0.9629, allocations: 0.5828 MB / 1.064 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.332e-05/0.963, allocations: 37.02 kB / 1.064 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9631, allocations: 3.938 kB / 1.064 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.9631, allocations: 0 / 1.064 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.9634, allocations: 0.5322 MB / 1.064 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.9636, allocations: 152 kB / 1.065 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.9638, allocations: 0.6848 MB / 1.065 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.267e-05/0.9639, allocations: 0 / 1.065 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.9639, allocations: 11.44 kB / 1.065 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/0.9639, allocations: 4 kB / 1.065 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of Templates: time 0.008786/0.9727, allocations: 5.414 MB / 1.07 GB, free: 1.523 MB / 0.6823 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