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.001403/0.001403, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001633/0.001633, allocations: 211.3 kB / 22.24 MB, free: 5.242 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.793 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.277/3.277, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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.002133/0.002133, allocations: 73.7 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3954, allocations: 176.1 MB / 1.326 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00329/0.3987, allocations: 1.444 MB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005616/0.4043, allocations: 2.666 MB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.4043, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.4044, allocations: 7.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.4044, allocations: 23.78 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004995/0.4094, allocations: 1.641 MB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.4096, allocations: 47.67 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.4096, allocations: 4 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.4096, allocations: 11.94 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.177e-05/0.4097, allocations: 15.92 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.4097, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.4125, allocations: 1.493 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.4125, allocations: 7.922 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.4126, allocations: 11.94 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.4148, allocations: 1.11 MB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4148, allocations: 0 / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4148, allocations: 0 / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4148, allocations: 0 / 1.334 GB, free: 9.164 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.0009838/0.4158, allocations: 476 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4158, allocations: 8.031 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.4159, allocations: 84.17 kB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.4161, allocations: 198.8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/0.4162, allocations: 154.9 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/0.4163, allocations: 154.9 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4164, allocations: 105.1 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/0.4165, allocations: 75.28 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/0.4166, allocations: 150.6 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.993e-05/0.4167, allocations: 150.6 kB / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.4168, allocations: 158.6 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.4171, allocations: 413.6 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.4172, allocations: 169.1 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/0.4173, allocations: 88.14 kB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.4174, allocations: 75.28 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/0.4174, allocations: 105.8 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4174, allocations: 0 / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.4175, allocations: 41.58 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.4176, allocations: 130.7 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.4178, allocations: 139.3 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4178, allocations: 29.69 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.4179, allocations: 92.09 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.4179, allocations: 0 / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.4179, allocations: 21.66 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4181, allocations: 322.8 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.4181, allocations: 4 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.4182, allocations: 8 kB / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.929e-05/0.4182, allocations: 16.92 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4182, allocations: 0 / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001473/0.4184, allocations: 53.62 kB / 1.337 GB, free: 5.629 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4184, allocations: 11.94 kB / 1.337 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.4184, allocations: 0 / 1.337 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4184, allocations: 4 kB / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.4184, allocations: 0 / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4184, allocations: 0 / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.4184, allocations: 8.016 kB / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4184, allocations: 0 / 1.337 GB, free: 5.605 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.0001239/0.4186, allocations: 185.1 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.4187, allocations: 120.8 kB / 1.337 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.4187, allocations: 108.7 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.4188, allocations: 184.3 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/0.4189, allocations: 180.2 kB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.728e-05/0.419, allocations: 180.2 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.4193, allocations: 360.9 kB / 1.338 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.217e-05/0.4194, allocations: 108.9 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.4194, allocations: 109 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.4195, allocations: 180.2 kB / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.973e-05/0.4196, allocations: 180.2 kB / 1.339 GB, free: 3.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.141e-05/0.4197, allocations: 184.2 kB / 1.339 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.369e-05/0.4198, allocations: 180.2 kB / 1.339 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.42, allocations: 307.8 kB / 1.34 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.4201, allocations: 112.9 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.4202, allocations: 184.2 kB / 1.34 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.4203, allocations: 104.9 kB / 1.34 GB, free: 2.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.4204, allocations: 184.3 kB / 1.34 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.4204, allocations: 108.9 kB / 1.34 GB, free: 2.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.477e-05/0.4205, allocations: 101.1 kB / 1.34 GB, free: 2.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4205, allocations: 0 / 1.34 GB, free: 2.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000961/0.4215, allocations: 298.9 kB / 1.341 GB, free: 1.828 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.00146/0.4229, allocations: 0.548 MB / 1.341 GB, free: 1.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.423, allocations: 45.69 kB / 1.341 GB, free: 1.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.423, allocations: 0 / 1.341 GB, free: 1.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.423, allocations: 4 kB / 1.341 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4235, allocations: 467.6 kB / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.4239, allocations: 237.8 kB / 1.342 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.424, allocations: 63.34 kB / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.364e-05/0.424, allocations: 8.062 kB / 1.342 GB, free: 412 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.424, allocations: 7.438 kB / 1.342 GB, free: 404 kB / 1.029 GB Notification: Performance of SimCode: time 4.8e-07/0.424, allocations: 0 / 1.342 GB, free: 404 kB / 1.029 GB Notification: Performance of Templates: time 0.01251/0.4366, allocations: 5.921 MB / 1.348 GB, free: 10.53 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 -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/jenkins/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: 9.798991937190294]