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.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.00181/0.00181, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002325/0.002325, allocations: 213.8 kB / 23 MB, free: 4.934 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.494/3.494, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_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_12_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.002032/0.002032, allocations: 73.08 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4605, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003093/0.4636, allocations: 1.431 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005088/0.4687, allocations: 2.642 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.4687, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.4687, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.4688, allocations: 19.84 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004601/0.4734, allocations: 1.63 MB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.4735, allocations: 43.67 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.4736, allocations: 7.984 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.4736, allocations: 15.94 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.4737, allocations: 15.92 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4737, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.4761, allocations: 1.552 MB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.4761, allocations: 7.938 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.4761, allocations: 11.94 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.4777, allocations: 1.079 MB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4777, allocations: 3.938 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4777, allocations: 0 / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4777, allocations: 0 / 1.335 GB, free: 8.48 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.0006977/0.4784, allocations: 472 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4784, allocations: 19.95 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.4785, allocations: 80.17 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.4787, allocations: 189.8 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.4787, allocations: 150.9 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.4788, allocations: 150.9 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.4789, allocations: 109 kB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.4789, allocations: 75.28 kB / 1.337 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.479, allocations: 158.6 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-05/0.4791, allocations: 150.6 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.596e-05/0.4791, allocations: 154.6 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.4794, allocations: 417.5 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4796, allocations: 173.1 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.4796, allocations: 80.14 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.4796, allocations: 75.28 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.4797, allocations: 109.8 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.4797, allocations: 0 / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.036e-05/0.4798, allocations: 33.59 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.4798, allocations: 51.41 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.48, allocations: 135.9 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.48, allocations: 29.7 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.4801, allocations: 96.11 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.4801, allocations: 0 / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.4801, allocations: 17.72 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4802, allocations: 322.8 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.4803, allocations: 4 kB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.4803, allocations: 4 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.4803, allocations: 16.86 kB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4803, allocations: 0 / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.4805, allocations: 45.64 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4805, allocations: 11.94 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.4805, allocations: 4.062 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4805, allocations: 4 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-06/0.4805, allocations: 4 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4805, allocations: 0 / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.4805, allocations: 4 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4806, allocations: 3.938 kB / 1.339 GB, free: 5.016 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.0001208/0.4807, allocations: 189.1 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.4808, allocations: 116.9 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.4808, allocations: 108.8 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.383e-05/0.4809, allocations: 184.2 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/0.481, allocations: 109 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.481, allocations: 120.8 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/0.4811, allocations: 176.3 kB / 1.34 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.4812, allocations: 101 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4813, allocations: 184.2 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001248/0.4814, allocations: 251.5 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002154/0.4817, allocations: 391 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.604e-05/0.4817, allocations: 104.9 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.947e-05/0.4818, allocations: 101 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of Backend: time 1.4e-07/0.4818, allocations: 0 / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.4833, allocations: 0.5155 MB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007639/0.4841, allocations: 0.9127 MB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of Templates: time 0.01176/0.4958, allocations: 6.544 MB / 1.348 GB, free: 10.83 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.272206816996913]