Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001335/0.001335, allocations: 113.8 kB / 16.42 MB, free: 6.492 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.001419/0.001419, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 67.89 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9589, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003307/0.9622, allocations: 1.436 MB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004934/0.9672, allocations: 2.856 MB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.9673, allocations: 3.938 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.9674, allocations: 7.938 kB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.9674, allocations: 19.84 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.972, allocations: 1.556 MB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.9721, allocations: 47.66 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.9722, allocations: 7.797 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.9722, allocations: 11.92 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.031e-05/0.9722, allocations: 15.94 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.9723, allocations: 4 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.9749, allocations: 1.482 MB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.975, allocations: 15.92 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.975, allocations: 11.88 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.9773, allocations: 1.086 MB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9773, allocations: 0 / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9773, allocations: 0 / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.9773, allocations: 0 / 1.176 GB, free: 11.29 MB / 0.9044 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.0008549/0.9782, allocations: 0.5145 MB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.9782, allocations: 8.922 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.9783, allocations: 88.22 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.9785, allocations: 255.5 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.9786, allocations: 150.9 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.9787, allocations: 150.9 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.611e-05/0.9787, allocations: 113.1 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.9788, allocations: 79.22 kB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.9788, allocations: 154.6 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.9789, allocations: 150.6 kB / 1.177 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.979, allocations: 150.6 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.9793, allocations: 465.8 kB / 1.178 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.31e-05/0.9794, allocations: 169.1 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.9795, allocations: 84.08 kB / 1.178 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.9795, allocations: 79.27 kB / 1.178 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.9796, allocations: 113.8 kB / 1.178 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.9796, allocations: 3.938 kB / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.351e-05/0.9796, allocations: 29.7 kB / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.9797, allocations: 59.41 kB / 1.178 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.9798, allocations: 132.5 kB / 1.179 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.9799, allocations: 29.69 kB / 1.179 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.9799, allocations: 88.14 kB / 1.179 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.9799, allocations: 0 / 1.179 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.98, allocations: 17.72 kB / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9801, allocations: 322.8 kB / 1.179 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.9802, allocations: 7.938 kB / 1.179 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.9802, allocations: 8.031 kB / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.9802, allocations: 12.86 kB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9802, allocations: 0 / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.9804, allocations: 49.62 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9804, allocations: 8 kB / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.9804, allocations: 0 / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9804, allocations: 0 / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.9804, allocations: 4 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.9804, allocations: 0 / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.9805, allocations: 3.906 kB / 1.179 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.9805, allocations: 64 / 1.179 GB, free: 7.617 MB / 0.9044 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.0001104/0.9806, allocations: 193.1 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.9807, allocations: 112.9 kB / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.9807, allocations: 108.9 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/0.9808, allocations: 188.2 kB / 1.18 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/0.9809, allocations: 101 kB / 1.18 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.9809, allocations: 194 kB / 1.18 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.981, allocations: 180.2 kB / 1.18 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.9811, allocations: 101 kB / 1.18 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.9812, allocations: 184.2 kB / 1.18 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001056/0.9813, allocations: 259.5 kB / 1.181 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002056/0.9815, allocations: 386.9 kB / 1.181 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.968e-05/0.9816, allocations: 101 kB / 1.181 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.9817, allocations: 107.2 kB / 1.181 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of Backend: time 2.91e-07/0.9817, allocations: 0 / 1.181 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.9835, allocations: 0.5013 MB / 1.182 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007307/0.9843, allocations: 0.909 MB / 1.183 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of Templates: time 0.01162/0.9959, allocations: 6.222 MB / 1.189 GB, free: 13.67 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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