Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001687, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 193 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.39 kB / 0.8985 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2624, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002485/0.2649, allocations: 1.497 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004278/0.2692, allocations: 3.028 MB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.2692, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.2693, allocations: 7.875 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.2694, allocations: 15.91 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.2728, allocations: 1.391 MB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.2728, allocations: 47.67 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.2729, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.2729, allocations: 15.92 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.324e-05/0.2729, allocations: 15.88 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2729, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.275, allocations: 1.462 MB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.275, allocations: 15.92 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.2751, allocations: 19.88 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.2767, allocations: 1.127 MB / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2767, allocations: 0 / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2767, allocations: 0 / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2767, allocations: 0 / 1.061 GB, free: 56 kB / 0.8106 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.0005274/0.2772, allocations: 0.5146 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2773, allocations: 8.031 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.2773, allocations: 84.12 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2775, allocations: 256.7 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.2775, allocations: 150.9 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.2776, allocations: 154.9 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.388e-05/0.2776, allocations: 109.1 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2777, allocations: 75.28 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.2777, allocations: 154.6 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/0.2778, allocations: 158.5 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.2778, allocations: 150.6 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.2781, allocations: 461.9 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.574e-05/0.2781, allocations: 173.1 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.2782, allocations: 84.14 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2782, allocations: 79.28 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.2782, allocations: 113.8 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2782, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.653e-05/0.2783, allocations: 33.55 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.2784, allocations: 130.7 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2785, allocations: 143.7 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.2785, allocations: 29.64 kB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.2786, allocations: 96.03 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.2786, allocations: 0 / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2786, allocations: 17.72 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.2787, allocations: 318.8 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.2787, allocations: 3.984 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.2787, allocations: 4 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.2788, allocations: 20.89 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2788, allocations: 0 / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001204/0.2789, allocations: 53.58 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.2789, allocations: 4 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.279, allocations: 4 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.279, allocations: 3.984 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.279, allocations: 0 / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.279, allocations: 0 / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.279, allocations: 3.906 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.279, allocations: 7.984 kB / 1.064 GB, free: 12.29 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.2791, allocations: 190.2 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.2792, allocations: 113 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.2792, allocations: 112.8 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/0.2793, allocations: 176.3 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.095e-05/0.2793, allocations: 180.3 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.723e-05/0.2794, allocations: 188.2 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2796, allocations: 409.2 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.2796, allocations: 112.8 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.2797, allocations: 101 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.636e-05/0.2797, allocations: 180.3 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.2798, allocations: 192.2 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.681e-05/0.2798, allocations: 176.3 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.2799, allocations: 180.2 kB / 1.066 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.28, allocations: 311.7 kB / 1.067 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.2801, allocations: 189.9 kB / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.2801, allocations: 184.2 kB / 1.067 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.2802, allocations: 112.9 kB / 1.067 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.2803, allocations: 176.3 kB / 1.067 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.2803, allocations: 108.9 kB / 1.067 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.2804, allocations: 101 kB / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2804, allocations: 0 / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006627/0.281, allocations: 287.8 kB / 1.068 GB, free: 8.363 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.2821, allocations: 0.5385 MB / 1.068 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.2822, allocations: 41.64 kB / 1.068 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2823, allocations: 0 / 1.068 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.2823, allocations: 4.062 kB / 1.068 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2826, allocations: 0.5301 MB / 1.069 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.2829, allocations: 246.8 kB / 1.069 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2832, allocations: 0.6809 MB / 1.07 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.2832, allocations: 0 / 1.07 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.2832, allocations: 11.44 kB / 1.07 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.2832, allocations: 0 / 1.07 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of Templates: time 0.009391/0.2926, allocations: 5.686 MB / 1.075 GB, free: 0.6055 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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