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.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.001503/0.001503, 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.001738/0.001738, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.599/1.599, allocations: 230.6 MB / 256 MB, free: 7.824 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.889/2.889, allocations: 476 MB / 0.7699 GB, free: 4.961 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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_11_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.002222/0.002222, allocations: 68.64 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3761, 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.InternalResistancesTwoUTubeNegative): time 0.0032/0.3793, allocations: 1.443 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.3844, allocations: 2.682 MB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.3845, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.3845, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3846, allocations: 23.8 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.3893, allocations: 1.636 MB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3894, allocations: 43.73 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.3894, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.3895, allocations: 19.92 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.3895, allocations: 11.88 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3895, allocations: 4 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.3921, allocations: 1.482 MB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3921, allocations: 4 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.3921, allocations: 23.86 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.3937, allocations: 1.103 MB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3937, allocations: 0 / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3937, allocations: 0 / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3937, allocations: 0 / 1.291 GB, free: 3.422 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.0007395/0.3945, allocations: 474 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3945, allocations: 12.03 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.3946, allocations: 80.17 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3948, allocations: 201.7 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/0.3949, allocations: 154.9 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.898e-05/0.3949, allocations: 150.9 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.787e-05/0.395, allocations: 117 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.3951, allocations: 79.27 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.3952, allocations: 150.6 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.855e-05/0.3953, allocations: 150.6 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.3953, allocations: 150.6 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3957, allocations: 417.6 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3959, allocations: 173.1 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.3959, allocations: 80.14 kB / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.396, allocations: 83.28 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/0.396, allocations: 105.8 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.396, allocations: 0 / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001066/0.3961, allocations: 41.59 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.3962, allocations: 126.7 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3964, allocations: 131.8 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3964, allocations: 25.7 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.3965, allocations: 96.12 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.3965, allocations: 0 / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.3965, allocations: 25.59 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3967, allocations: 318.8 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.3967, allocations: 12 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.3968, allocations: 4 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.3968, allocations: 12.86 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3968, allocations: 0 / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001351/0.3969, allocations: 49.66 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.397, allocations: 11.92 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.397, allocations: 4 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.397, allocations: 0 / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.397, allocations: 64 / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.397, allocations: 8 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.397, allocations: 7.891 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.397, allocations: 8 kB / 1.295 GB, free: 15.85 MB / 0.9981 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.0001235/0.3972, allocations: 185.1 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.3972, allocations: 104.9 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.3973, allocations: 116.8 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/0.3974, allocations: 184.2 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001131/0.3975, allocations: 180.3 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-05/0.3976, allocations: 180.2 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.3979, allocations: 364.9 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.132e-05/0.3979, allocations: 105 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.398, allocations: 108.9 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-05/0.3981, allocations: 180.3 kB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.3982, allocations: 184.1 kB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.959e-05/0.3982, allocations: 180.3 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-05/0.3983, allocations: 180.2 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.3985, allocations: 311.7 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.3986, allocations: 112.9 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.3987, allocations: 192.2 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.3988, allocations: 101 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3989, allocations: 184.2 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.399, allocations: 105 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.647e-05/0.399, allocations: 99.27 kB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.399, allocations: 0 / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007544/0.3998, allocations: 299 kB / 1.298 GB, free: 12.09 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.001168/0.401, allocations: 0.5507 MB / 1.299 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.4011, allocations: 41.64 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4011, allocations: 4.062 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4011, allocations: 0 / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.4016, allocations: 473.5 kB / 1.299 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.402, allocations: 244.2 kB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.4021, allocations: 67.58 kB / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.362e-05/0.4021, allocations: 0 / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.4021, allocations: 15.44 kB / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.4021, allocations: 0 / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.01157/0.4137, allocations: 5.91 MB / 1.305 GB, free: 4.789 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.816112253814936]