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.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.473/2.473, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002017, allocations: 183 kB / 0.4902 GB, free: 2.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 223.2 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 102.3 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004455, allocations: 11.12 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3326, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.5476, allocations: 170.3 MB / 1.396 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/0.5481, allocations: 119.9 kB / 1.396 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04805/0.5961, allocations: 15.14 MB / 1.41 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5962, allocations: 0 / 1.41 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.5962, allocations: 0 / 1.41 GB, free: 15.95 MB / 0.9167 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.001034/0.5972, allocations: 0.5698 MB / 1.411 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5973, allocations: 8.031 kB / 1.411 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.5974, allocations: 83.23 kB / 1.411 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.5976, allocations: 251.3 kB / 1.411 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.5976, allocations: 158.5 kB / 1.412 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.501e-05/0.5977, allocations: 150.6 kB / 1.412 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.5978, allocations: 108.9 kB / 1.412 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.5978, allocations: 79.28 kB / 1.412 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.5979, allocations: 150.6 kB / 1.412 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/0.598, allocations: 150.6 kB / 1.412 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.5981, allocations: 154.5 kB / 1.412 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.5985, allocations: 469.9 kB / 1.413 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.5986, allocations: 169.1 kB / 1.413 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.5986, allocations: 75.28 kB / 1.413 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/0.5987, allocations: 113.8 kB / 1.413 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.5987, allocations: 0 / 1.413 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 8.715e-05/0.5988, allocations: 29.61 kB / 1.413 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.5989, allocations: 134.6 kB / 1.413 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.599, allocations: 121.9 kB / 1.413 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.5991, allocations: 25.7 kB / 1.413 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.5991, allocations: 84.14 kB / 1.413 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-06/0.5991, allocations: 0 / 1.413 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.5992, allocations: 4 kB / 1.413 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5993, allocations: 322.8 kB / 1.414 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.5993, allocations: 7.938 kB / 1.414 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.5994, allocations: 8 kB / 1.414 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.5994, allocations: 4 kB / 1.414 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5994, allocations: 4 kB / 1.414 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.5995, allocations: 49.59 kB / 1.414 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5996, allocations: 4.938 kB / 1.414 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.5996, allocations: 4.047 kB / 1.414 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5996, allocations: 3.984 kB / 1.414 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.5996, allocations: 0 / 1.414 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5996, allocations: 3.938 kB / 1.414 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.5997, allocations: 0 / 1.414 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.5997, allocations: 8.062 kB / 1.414 GB, free: 12.28 MB / 0.9167 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 0.0001254/0.5998, allocations: 185.9 kB / 1.414 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.5999, allocations: 116.8 kB / 1.414 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.037e-05/0.6, allocations: 108.9 kB / 1.414 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-05/0.6, allocations: 184.2 kB / 1.414 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.947e-05/0.6001, allocations: 180.4 kB / 1.415 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.301e-05/0.6002, allocations: 184.2 kB / 1.415 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.6005, allocations: 417.1 kB / 1.415 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.041e-05/0.6005, allocations: 105 kB / 1.415 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.6006, allocations: 104.9 kB / 1.415 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.65e-05/0.6007, allocations: 176.3 kB / 1.416 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-05/0.6007, allocations: 188.2 kB / 1.416 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.056e-05/0.6008, allocations: 180.2 kB / 1.416 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.483e-05/0.6009, allocations: 176.3 kB / 1.416 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.6011, allocations: 311.6 kB / 1.416 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.6012, allocations: 190.1 kB / 1.417 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/0.6013, allocations: 180.2 kB / 1.417 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.6014, allocations: 101 kB / 1.417 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.6015, allocations: 188.5 kB / 1.417 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.6015, allocations: 109 kB / 1.417 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.6016, allocations: 96.36 kB / 1.417 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6016, allocations: 0 / 1.417 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001002/0.6026, allocations: 323.5 kB / 1.417 GB, free: 8.332 MB / 0.9167 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.001509/0.6041, allocations: 0.5407 MB / 1.418 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.6042, allocations: 41.64 kB / 1.418 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6043, allocations: 0 / 1.418 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/0.6043, allocations: 4 kB / 1.418 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.6047, allocations: 0.538 MB / 1.419 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.6051, allocations: 255.7 kB / 1.419 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.6054, allocations: 0.6887 MB / 1.419 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.6054, allocations: 0 / 1.419 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.6054, allocations: 11.44 kB / 1.419 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.6054, allocations: 0 / 1.419 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of Templates: time 0.009795/0.6152, allocations: 5.1 MB / 1.424 GB, free: 1.129 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x