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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7451 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.52 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4375, allocations: 159.9 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.005658/0.4432, allocations: 1.433 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009214/0.4525, allocations: 2.855 MB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4527, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.4529, allocations: 7.922 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.453, allocations: 15.86 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008829/0.4619, allocations: 1.552 MB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.462, allocations: 39.8 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.359e-05/0.4621, allocations: 15.91 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.4622, allocations: 11.94 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.4622, allocations: 15.88 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.4623, allocations: 4 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.4664, allocations: 1.423 MB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.4664, allocations: 4 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.4665, allocations: 23.86 kB / 1.076 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.4693, allocations: 1.08 MB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4694, allocations: 0 / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4694, allocations: 0 / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.4694, allocations: 4 kB / 1.077 GB, free: 1.824 MB / 0.8262 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.0009806/0.4704, allocations: 0.5107 MB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4704, allocations: 12.03 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.884e-05/0.4706, allocations: 80.22 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4708, allocations: 252.9 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.4709, allocations: 154.9 kB / 1.078 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.471, allocations: 154.9 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.4711, allocations: 109.1 kB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.4712, allocations: 75.28 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.4713, allocations: 150.6 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/0.4714, allocations: 154.5 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.4715, allocations: 154.5 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.472, allocations: 473.8 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4721, allocations: 177.1 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.4722, allocations: 80.14 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.4723, allocations: 75.28 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/0.4723, allocations: 117.7 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 5.17e-06/0.4724, allocations: 3.984 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001193/0.4725, allocations: 33.75 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.4726, allocations: 126.7 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.4728, allocations: 134.7 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.4729, allocations: 25.7 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.4729, allocations: 92.12 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.473, allocations: 0 / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.473, allocations: 21.72 kB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4732, allocations: 314.8 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.4733, allocations: 8 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.4733, allocations: 7.938 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.498e-05/0.4734, allocations: 12.8 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4734, allocations: 0 / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002048/0.4736, allocations: 53.62 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4737, allocations: 4 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.4737, allocations: 4.062 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4738, allocations: 4 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.4738, allocations: 0 / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4738, allocations: 0 / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.4738, allocations: 7.844 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4739, allocations: 4 kB / 1.08 GB, free: 14.07 MB / 0.8419 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 0.0001503/0.474, allocations: 185.7 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4741, allocations: 116.8 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.523e-05/0.4743, allocations: 112.6 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.99e-05/0.4744, allocations: 180.2 kB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-05/0.4745, allocations: 180.3 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-05/0.4746, allocations: 176.3 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.475, allocations: 421.1 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.385e-05/0.4751, allocations: 104.9 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.4751, allocations: 112.9 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.582e-05/0.4753, allocations: 176.3 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.133e-05/0.4754, allocations: 180.3 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001114/0.4755, allocations: 188.2 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.613e-05/0.4756, allocations: 176.3 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.4758, allocations: 311.7 kB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.476, allocations: 197.9 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.4761, allocations: 180.2 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4763, allocations: 101 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4764, allocations: 188.2 kB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.4765, allocations: 105 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.873e-05/0.4766, allocations: 104.7 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4766, allocations: 0 / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001306/0.4779, allocations: 267.8 kB / 1.084 GB, free: 10.16 MB / 0.8419 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.001905/0.4798, allocations: 0.5175 MB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.48, allocations: 41.69 kB / 1.084 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.48, allocations: 7.938 kB / 1.084 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-06/0.48, allocations: 0 / 1.084 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.4807, allocations: 459.6 kB / 1.085 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.4812, allocations: 232.1 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4816, allocations: 0.6922 MB / 1.085 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.4817, allocations: 0 / 1.085 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.4817, allocations: 11.44 kB / 1.085 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.4817, allocations: 0 / 1.085 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of Templates: time 0.01815/0.4999, allocations: 5.487 MB / 1.091 GB, free: 2.707 MB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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