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.001396/0.001396, allocations: 110.1 kB / 16.42 MB, free: 6.5 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.001392/0.001392, allocations: 191.8 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.89 kB / 1.055 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8089, allocations: 157.4 MB / 1.209 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002549/0.8115, allocations: 1.44 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004205/0.8157, allocations: 2.902 MB / 1.213 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.8158, allocations: 0 / 1.213 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.8158, allocations: 7.922 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.8159, allocations: 11.86 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.8198, allocations: 1.579 MB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.392e-05/0.8199, allocations: 39.73 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.8199, allocations: 4 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.8199, allocations: 15.92 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.82, allocations: 23.88 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.82, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.8223, allocations: 1.533 MB / 1.216 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.8223, allocations: 4 kB / 1.216 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.8224, allocations: 23.86 kB / 1.216 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.824, allocations: 1.115 MB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.824, allocations: 0 / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.522e-06/0.824, allocations: 0 / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.824, allocations: 0 / 1.217 GB, free: 4.898 MB / 0.9356 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.0006794/0.8247, allocations: 0.524 MB / 1.218 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8247, allocations: 8.031 kB / 1.218 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.8248, allocations: 76.22 kB / 1.218 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.825, allocations: 255.4 kB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.825, allocations: 154.9 kB / 1.218 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.8251, allocations: 150.9 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.262e-05/0.8251, allocations: 113 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.8252, allocations: 75.28 kB / 1.218 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.8252, allocations: 150.6 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.8253, allocations: 154.6 kB / 1.219 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.8253, allocations: 150.6 kB / 1.219 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.8256, allocations: 469.8 kB / 1.219 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.8257, allocations: 173.1 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.8257, allocations: 80.14 kB / 1.219 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.8258, allocations: 75.28 kB / 1.219 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.8258, allocations: 117.8 kB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8258, allocations: 0 / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.438e-05/0.8259, allocations: 33.69 kB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.826, allocations: 51.41 kB / 1.22 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.8261, allocations: 139.7 kB / 1.22 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.8261, allocations: 25.7 kB / 1.22 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.8262, allocations: 92.16 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.8262, allocations: 4 kB / 1.22 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.8262, allocations: 17.7 kB / 1.22 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8264, allocations: 322.8 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.8264, allocations: 4 kB / 1.22 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.8264, allocations: 8 kB / 1.22 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.8265, allocations: 12.84 kB / 1.22 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8265, allocations: 0 / 1.22 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/0.8266, allocations: 57.55 kB / 1.22 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.8266, allocations: 4 kB / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.8266, allocations: 4 kB / 1.22 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8267, allocations: 7.922 kB / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.8267, allocations: 4.062 kB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8267, allocations: 3.984 kB / 1.22 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.8267, allocations: 11.88 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.8267, allocations: 3.984 kB / 1.22 GB, free: 1.195 MB / 0.9356 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.586e-05/0.8268, allocations: 181.1 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.8269, allocations: 112.8 kB / 1.221 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.8269, allocations: 116.8 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-05/0.827, allocations: 188.3 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/0.827, allocations: 105 kB / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.8271, allocations: 186 kB / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.8272, allocations: 176.3 kB / 1.221 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.8273, allocations: 101 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.8273, allocations: 184.2 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.297e-05/0.8274, allocations: 267.5 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001437/0.8276, allocations: 379 kB / 1.222 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.812e-05/0.8276, allocations: 104.9 kB / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.8277, allocations: 109.1 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/0.8277, allocations: 4 kB / 1.222 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.8292, allocations: 0.5112 MB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005828/0.8298, allocations: 0.9247 MB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of Templates: time 0.01065/0.8405, allocations: 6.398 MB / 1.23 GB, free: 7.066 MB / 0.9512 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/jenkins1/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