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.004967/0.004967, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001095/0.001096, allocations: 191.9 kB / 16.67 MB, free: 5.938 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.599/2.599, allocations: 472.6 MB / 0.7453 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.739, allocations: 159.9 MB / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002207/0.7412, allocations: 1.419 MB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003746/0.745, allocations: 2.873 MB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.745, allocations: 0 / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.7451, allocations: 11.92 kB / 1.23 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.202e-05/0.7451, allocations: 15.86 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.7484, allocations: 1.56 MB / 1.231 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.147e-05/0.7485, allocations: 39.73 kB / 1.231 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.7485, allocations: 7.984 kB / 1.231 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.7486, allocations: 11.94 kB / 1.231 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.717e-05/0.7486, allocations: 23.86 kB / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.7486, allocations: 0 / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.7505, allocations: 1.482 MB / 1.233 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.7505, allocations: 11.94 kB / 1.233 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.7506, allocations: 19.86 kB / 1.233 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.7518, allocations: 1.084 MB / 1.234 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7519, allocations: 0 / 1.234 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7519, allocations: 0 / 1.234 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7519, allocations: 0 / 1.234 GB, free: 5.078 MB / 0.9512 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.0005108/0.7524, allocations: 0.5246 MB / 1.235 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.7524, allocations: 12.03 kB / 1.235 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.7525, allocations: 84.17 kB / 1.235 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.7526, allocations: 245.2 kB / 1.235 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.7527, allocations: 154.9 kB / 1.235 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.7527, allocations: 154.9 kB / 1.235 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.073e-05/0.7528, allocations: 109 kB / 1.235 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.7528, allocations: 75.28 kB / 1.235 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.7529, allocations: 158.5 kB / 1.235 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.7529, allocations: 150.6 kB / 1.236 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.753, allocations: 154.6 kB / 1.236 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.7532, allocations: 457.9 kB / 1.236 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.7533, allocations: 177.1 kB / 1.236 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.7533, allocations: 84.08 kB / 1.236 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.7534, allocations: 75.28 kB / 1.237 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.7534, allocations: 113.8 kB / 1.237 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7534, allocations: 0 / 1.237 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.532e-05/0.7535, allocations: 33.66 kB / 1.237 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.7535, allocations: 134.6 kB / 1.237 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.7537, allocations: 131.5 kB / 1.237 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.7537, allocations: 25.7 kB / 1.237 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.7537, allocations: 100.1 kB / 1.237 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.7537, allocations: 0 / 1.237 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.7538, allocations: 13.72 kB / 1.237 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.7539, allocations: 314.8 kB / 1.237 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.7539, allocations: 7.984 kB / 1.237 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.7539, allocations: 12.03 kB / 1.237 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.754, allocations: 8.859 kB / 1.237 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.754, allocations: 4 kB / 1.237 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000113/0.7541, allocations: 65.45 kB / 1.237 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7541, allocations: 4 kB / 1.237 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.7541, allocations: 4 kB / 1.237 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.7541, allocations: 0 / 1.237 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.7542, allocations: 0 / 1.237 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.7542, allocations: 0 / 1.237 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.7542, allocations: 0 / 1.237 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.7542, allocations: 8.062 kB / 1.237 GB, free: 1.312 MB / 0.9512 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.15e-05/0.7543, allocations: 181.1 kB / 1.238 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.7543, allocations: 120.9 kB / 1.238 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.7544, allocations: 116.8 kB / 1.238 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/0.7545, allocations: 184.3 kB / 1.238 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.359e-05/0.7545, allocations: 176.3 kB / 1.238 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.859e-05/0.7546, allocations: 184.2 kB / 1.238 GB, free: 328 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.7548, allocations: 417.2 kB / 1.239 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.7548, allocations: 108.9 kB / 1.239 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.7549, allocations: 101 kB / 1.239 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.082e-05/0.7549, allocations: 176.3 kB / 1.239 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.755, allocations: 188.2 kB / 1.239 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-05/0.7551, allocations: 176.3 kB / 1.24 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/0.7551, allocations: 188.1 kB / 1.24 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.7552, allocations: 307.7 kB / 1.24 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.7553, allocations: 190 kB / 1.24 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.7554, allocations: 184.2 kB / 1.24 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.7555, allocations: 108.9 kB / 1.24 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.7555, allocations: 180.3 kB / 1.241 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.7556, allocations: 108.9 kB / 1.241 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.7556, allocations: 97.3 kB / 1.241 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7556, allocations: 0 / 1.241 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006138/0.7562, allocations: 287 kB / 1.241 GB, free: 13.39 MB / 0.9669 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.000939/0.7572, allocations: 0.5284 MB / 1.242 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.7573, allocations: 33.7 kB / 1.242 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7573, allocations: 0 / 1.242 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.7573, allocations: 0 / 1.242 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.7577, allocations: 479.7 kB / 1.242 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.758, allocations: 228 kB / 1.242 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.7582, allocations: 0.6846 MB / 1.243 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.7582, allocations: 11.91 kB / 1.243 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-06/0.7582, allocations: 7.438 kB / 1.243 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.7582, allocations: 3.938 kB / 1.243 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of Templates: time 0.008363/0.7666, allocations: 5.449 MB / 1.248 GB, free: 5.953 MB / 0.9669 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