Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001608/0.001608, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001659/0.001659, allocations: 214.8 kB / 22.25 MB, free: 4.859 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.925/2.925, allocations: 476 MB / 0.7699 GB, free: 4.828 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.002181/0.002181, allocations: 63.33 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3996, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002945/0.4025, allocations: 1.429 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004989/0.4075, allocations: 2.643 MB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.4076, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.4076, allocations: 3.938 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.4077, allocations: 23.78 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004376/0.412, allocations: 1.608 MB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.4121, allocations: 43.72 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.4122, allocations: 8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.4122, allocations: 15.92 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.4123, allocations: 11.94 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4123, allocations: 0 / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.4148, allocations: 1.451 MB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.4148, allocations: 7.938 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.4149, allocations: 7.938 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.4165, allocations: 1.083 MB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4165, allocations: 0 / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4165, allocations: 4 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4166, allocations: 0 / 1.291 GB, free: 3.562 MB / 0.9825 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.0006911/0.4172, allocations: 472 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4173, allocations: 8.031 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.4174, allocations: 88.16 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.4175, allocations: 192.3 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.4176, allocations: 154.9 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/0.4177, allocations: 150.9 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.4178, allocations: 105.1 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.4179, allocations: 75.28 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.4179, allocations: 150.6 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.101e-05/0.418, allocations: 162.6 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.4181, allocations: 154.5 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.4185, allocations: 417.5 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4186, allocations: 173.1 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.4186, allocations: 80.14 kB / 1.294 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.4187, allocations: 75.28 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/0.4188, allocations: 105.8 kB / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.4188, allocations: 3.938 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.219e-05/0.4188, allocations: 41.53 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.4189, allocations: 126.7 kB / 1.294 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4191, allocations: 133.8 kB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.4191, allocations: 25.7 kB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.4192, allocations: 92.12 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.4192, allocations: 0 / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4192, allocations: 17.72 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4194, allocations: 322.8 kB / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.4194, allocations: 4 kB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.4194, allocations: 4 kB / 1.294 GB, free: 128 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.4195, allocations: 16.8 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4195, allocations: 7.938 kB / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.4196, allocations: 45.64 kB / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4197, allocations: 16 kB / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4197, allocations: 0 / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4197, allocations: 0 / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.546e-06/0.4197, allocations: 4 kB / 1.295 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4197, allocations: 0 / 1.295 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.4197, allocations: 0 / 1.295 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4197, allocations: 0 / 1.295 GB, free: 28 kB / 0.9825 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.0001563/0.4199, allocations: 189.1 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.42, allocations: 112.8 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.42, allocations: 112.8 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.696e-05/0.4201, allocations: 184.3 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001089/0.4203, allocations: 192.2 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/0.4204, allocations: 176.3 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.4206, allocations: 368.8 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.637e-05/0.4207, allocations: 101 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.4207, allocations: 105 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-05/0.4208, allocations: 180.2 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/0.4209, allocations: 184.2 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.052e-05/0.421, allocations: 188.2 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.927e-05/0.4211, allocations: 176.3 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.4212, allocations: 311.7 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.4213, allocations: 105 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4214, allocations: 192.1 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.4215, allocations: 101 kB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.4216, allocations: 180.2 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.4216, allocations: 109 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.4217, allocations: 101.1 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4217, allocations: 0 / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007508/0.4225, allocations: 291 kB / 1.298 GB, free: 12.26 MB / 0.9981 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.001166/0.4236, allocations: 0.5433 MB / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4237, allocations: 33.7 kB / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4237, allocations: 0 / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.4237, allocations: 7.938 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.4242, allocations: 463.7 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.4246, allocations: 240.5 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.321e-05/0.4247, allocations: 67.41 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.359e-05/0.4247, allocations: 0 / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.4247, allocations: 15.38 kB / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.4247, allocations: 0 / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.01114/0.4359, allocations: 5.745 MB / 1.305 GB, free: 5.16 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 9.84700352884829]