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.001422/0.001422, allocations: 108.3 kB / 19.7 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.001546/0.001546, allocations: 218.1 kB / 22.99 MB, free: 4.965 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.57/1.57, 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.384/3.384, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002081/0.002081, allocations: 66.8 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4737, 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.003191/0.4769, allocations: 1.44 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005309/0.4822, allocations: 2.681 MB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.4823, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.4823, allocations: 7.922 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.4824, allocations: 19.8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.4871, allocations: 1.64 MB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.4873, allocations: 47.67 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.4873, allocations: 8 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.4874, allocations: 15.92 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.4874, allocations: 19.92 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.4874, allocations: 3.938 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.4902, allocations: 1.595 MB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.4902, allocations: 3.938 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.4903, allocations: 11.94 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.492, allocations: 1.111 MB / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.492, allocations: 0 / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.492, allocations: 4 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.492, allocations: 0 / 1.336 GB, free: 8.344 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.0007817/0.4928, allocations: 479.9 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4928, allocations: 12.02 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.4929, allocations: 84.17 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.4931, allocations: 187.5 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.4932, allocations: 150.9 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.4933, allocations: 154.9 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.4934, allocations: 109.1 kB / 1.337 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.4934, allocations: 75.28 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.4935, allocations: 154.6 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.4936, allocations: 150.6 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.4937, allocations: 162.5 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4941, allocations: 413.6 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.4942, allocations: 165.1 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.4943, allocations: 84.14 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.4943, allocations: 75.28 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/0.4944, allocations: 105.8 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.4944, allocations: 3.938 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001057/0.4945, allocations: 41.59 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.4946, allocations: 134.7 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.4948, allocations: 139.6 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.4948, allocations: 25.7 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.4949, allocations: 92.09 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.4949, allocations: 0 / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.4949, allocations: 21.66 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4951, allocations: 318.8 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.4951, allocations: 8 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.4951, allocations: 4 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.4952, allocations: 20.8 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4952, allocations: 0 / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001673/0.4953, allocations: 49.72 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4954, allocations: 11.94 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.4954, allocations: 0 / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4954, allocations: 4 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.4954, allocations: 0 / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4954, allocations: 3.938 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.4954, allocations: 3.953 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4954, allocations: 0 / 1.339 GB, free: 4.789 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.0001474/0.4956, allocations: 185.1 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.4957, allocations: 120.8 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.339e-05/0.4958, allocations: 112.8 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/0.4959, allocations: 180.3 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.837e-05/0.496, allocations: 180.2 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.265e-05/0.4961, allocations: 180.2 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.4963, allocations: 368.8 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.78e-05/0.4964, allocations: 105 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.4965, allocations: 101 kB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.4966, allocations: 180.3 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.4967, allocations: 192.2 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.364e-05/0.4968, allocations: 180.2 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-05/0.4969, allocations: 176.3 kB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.4971, allocations: 311.8 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.4972, allocations: 116.9 kB / 1.341 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4973, allocations: 188.1 kB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.4974, allocations: 101 kB / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4975, allocations: 184.2 kB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.4976, allocations: 101 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.91e-05/0.4976, allocations: 100.3 kB / 1.342 GB, free: 1.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4976, allocations: 0 / 1.342 GB, free: 1.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001116/0.4988, allocations: 302.9 kB / 1.342 GB, free: 1.008 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.001359/0.5001, allocations: 0.5491 MB / 1.343 GB, free: 460 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5003, allocations: 41.69 kB / 1.343 GB, free: 412 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5003, allocations: 4 kB / 1.343 GB, free: 408 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.5003, allocations: 4.281 kB / 1.343 GB, free: 404 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.5008, allocations: 463.6 kB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.5012, allocations: 240.6 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.5013, allocations: 67.34 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.5013, allocations: 0 / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.5013, allocations: 7.438 kB / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.5013, allocations: 3.938 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of Templates: time 0.01173/0.5131, allocations: 5.939 MB / 1.349 GB, free: 9.684 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 -s cvode -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.28192340899841]