Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 216.4 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 67.41 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.4659, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003205/0.4691, allocations: 1.45 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.4744, allocations: 2.681 MB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.4745, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.4745, allocations: 3.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.4746, allocations: 19.84 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.4791, allocations: 1.651 MB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.4792, allocations: 43.73 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.4792, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.4793, allocations: 15.94 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.4793, allocations: 23.86 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.4793, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.482, allocations: 1.591 MB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.482, allocations: 7.938 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.482, allocations: 15.92 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.4837, allocations: 1.111 MB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4837, allocations: 3.938 kB / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4837, allocations: 0 / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4838, allocations: 7.938 kB / 1.336 GB, free: 8.34 MB / 1.029 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.0007635/0.4845, allocations: 469.2 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4846, allocations: 12.03 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.4846, allocations: 80.17 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.4848, allocations: 200.1 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.4849, allocations: 150.9 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.485, allocations: 150.9 kB / 1.337 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.4851, allocations: 105.1 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.4851, allocations: 75.28 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.4852, allocations: 158.6 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.717e-05/0.4853, allocations: 154.6 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.4853, allocations: 154.5 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.4857, allocations: 417.5 kB / 1.338 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.4858, allocations: 169.1 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.4858, allocations: 80.14 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.4859, allocations: 75.28 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/0.4859, allocations: 113.8 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.4859, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.022e-05/0.486, allocations: 33.64 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.486, allocations: 59.41 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4862, allocations: 133.8 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4862, allocations: 29.7 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.4863, allocations: 100.1 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.4863, allocations: 0 / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.4863, allocations: 13.72 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4865, allocations: 322.8 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.4865, allocations: 4 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.4865, allocations: 4 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.4866, allocations: 24.86 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4866, allocations: 0 / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001391/0.4867, allocations: 49.69 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4867, allocations: 13.41 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.4867, allocations: 4 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4868, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.4868, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4868, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.4868, allocations: 7.891 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4868, allocations: 4 kB / 1.339 GB, free: 4.863 MB / 1.029 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.0001193/0.4869, allocations: 181.1 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.487, allocations: 116.8 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.4871, allocations: 120.7 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.711e-05/0.4871, allocations: 176.3 kB / 1.339 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/0.4872, allocations: 108.9 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.4873, allocations: 105 kB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-05/0.4874, allocations: 184.2 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.4875, allocations: 105 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.4875, allocations: 176.3 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001465/0.4877, allocations: 263.5 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002081/0.4879, allocations: 386.9 kB / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.311e-05/0.488, allocations: 109 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.488, allocations: 96.67 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of Backend: time 4.01e-07/0.488, allocations: 0 / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.4897, allocations: 0.5371 MB / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007819/0.4905, allocations: 0.9134 MB / 1.342 GB, free: 1.152 MB / 1.029 GB Notification: Performance of Templates: time 0.01252/0.503, allocations: 6.702 MB / 1.349 GB, free: 10.49 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 10.2593367629961]