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.001567/0.001567, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001742/0.001742, allocations: 212.6 kB / 22.99 MB, free: 4.957 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.002081/0.002081, allocations: 74.64 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3089, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002613/0.3115, allocations: 1.439 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004628/0.3161, allocations: 2.685 MB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.3161, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.3161, allocations: 7.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.3162, allocations: 15.84 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.3204, allocations: 1.652 MB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3205, allocations: 39.73 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.3206, allocations: 15.92 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.3206, allocations: 15.94 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.663e-05/0.3206, allocations: 11.94 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.3206, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.3232, allocations: 1.595 MB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.3232, allocations: 3.938 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.3232, allocations: 15.92 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.325, allocations: 1.107 MB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.325, allocations: 3.984 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.325, allocations: 4 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.325, allocations: 0 / 1.336 GB, free: 8.336 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.0006729/0.3256, allocations: 476 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3257, allocations: 8.031 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.3257, allocations: 84.17 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3259, allocations: 185.8 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/0.326, allocations: 154.9 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.326, allocations: 158.9 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.3261, allocations: 109.1 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.3262, allocations: 75.28 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.3262, allocations: 154.6 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/0.3263, allocations: 154.6 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.3264, allocations: 150.6 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.3267, allocations: 409.6 kB / 1.338 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3269, allocations: 177 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.3269, allocations: 80.14 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.327, allocations: 79.27 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.327, allocations: 109.8 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.327, allocations: 0 / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.702e-05/0.3271, allocations: 41.53 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/0.3272, allocations: 130.7 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3274, allocations: 139.5 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3274, allocations: 25.7 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.3275, allocations: 100.1 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3275, allocations: 0 / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3275, allocations: 17.72 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3276, allocations: 310.8 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.3277, allocations: 11.98 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.3277, allocations: 4 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.3277, allocations: 20.92 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3277, allocations: 0 / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00014/0.3279, allocations: 49.67 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3279, allocations: 15.88 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.3279, allocations: 11.97 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3279, allocations: 0 / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3279, allocations: 0 / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3279, allocations: 0 / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.328, allocations: 3.953 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.328, allocations: 4 kB / 1.339 GB, free: 4.773 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.0001156/0.3281, allocations: 181.1 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.3282, allocations: 112.9 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.3282, allocations: 120.8 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.325e-05/0.3283, allocations: 180.3 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.699e-05/0.3284, allocations: 176.3 kB / 1.34 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.673e-05/0.3285, allocations: 180.2 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3288, allocations: 364.9 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.456e-05/0.3288, allocations: 112.9 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.3289, allocations: 101 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.023e-05/0.329, allocations: 180.2 kB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.329, allocations: 184.2 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.931e-05/0.3291, allocations: 176.3 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.119e-05/0.3292, allocations: 184.2 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3294, allocations: 311.8 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3294, allocations: 112.9 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.3295, allocations: 184.2 kB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.3296, allocations: 112.9 kB / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.3297, allocations: 184.2 kB / 1.342 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.3297, allocations: 104.9 kB / 1.342 GB, free: 1.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.782e-05/0.3298, allocations: 96.36 kB / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3298, allocations: 0 / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008439/0.3307, allocations: 299 kB / 1.342 GB, free: 1 MB / 1.029 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.001148/0.3318, allocations: 0.5603 MB / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3319, allocations: 37.7 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3319, allocations: 0 / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.3319, allocations: 352 / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.3324, allocations: 467.7 kB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.3328, allocations: 244.5 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.527e-05/0.3329, allocations: 71.33 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.3329, allocations: 0 / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.3329, allocations: 7.438 kB / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.3329, allocations: 0 / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of Templates: time 0.01124/0.3441, allocations: 5.928 MB / 1.349 GB, free: 9.684 MB / 1.045 GB " [Timeout remaining time 300] 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 -s gbode -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: 8.943809735996183]