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.InternalResistancesTwoUTube.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.001402/0.001402, 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.001557/0.001557, allocations: 220 kB / 22.25 MB, free: 4.852 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.797 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.933/2.933, allocations: 475.9 MB / 0.7699 GB, free: 4.777 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.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") [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.002441/0.002441, allocations: 73.09 kB / 1.117 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4303, allocations: 169.9 MB / 1.283 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003417/0.4338, allocations: 1.446 MB / 1.285 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005436/0.4392, allocations: 2.682 MB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.4392, allocations: 0 / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.4393, allocations: 3.938 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.4394, allocations: 19.84 kB / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005092/0.4445, allocations: 1.642 MB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.4446, allocations: 47.72 kB / 1.289 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.4447, allocations: 4 kB / 1.289 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.4447, allocations: 15.94 kB / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.4448, allocations: 23.86 kB / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.4448, allocations: 0 / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.4478, allocations: 1.478 MB / 1.29 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.4478, allocations: 3.984 kB / 1.29 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.4479, allocations: 15.88 kB / 1.29 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.4501, allocations: 1.099 MB / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4501, allocations: 0 / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4501, allocations: 0 / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4501, allocations: 3.938 kB / 1.291 GB, free: 11.21 MB / 0.9981 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.001011/0.4511, allocations: 484 kB / 1.292 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4512, allocations: 8.031 kB / 1.292 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.4513, allocations: 88.16 kB / 1.292 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.4515, allocations: 196.3 kB / 1.292 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.934e-05/0.4516, allocations: 150.9 kB / 1.292 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.4517, allocations: 154.9 kB / 1.292 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.4518, allocations: 105.1 kB / 1.293 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.4518, allocations: 75.28 kB / 1.293 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.4519, allocations: 154.5 kB / 1.293 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.123e-05/0.452, allocations: 150.6 kB / 1.293 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.4521, allocations: 162.5 kB / 1.293 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.4525, allocations: 413.6 kB / 1.293 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.4526, allocations: 169.1 kB / 1.294 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4527, allocations: 84.14 kB / 1.294 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.4527, allocations: 79.22 kB / 1.294 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/0.4528, allocations: 105.8 kB / 1.294 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.4528, allocations: 0 / 1.294 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.4529, allocations: 37.59 kB / 1.294 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.453, allocations: 130.7 kB / 1.294 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.4532, allocations: 141.8 kB / 1.294 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.4532, allocations: 29.7 kB / 1.294 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.4533, allocations: 84.14 kB / 1.294 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.4533, allocations: 0 / 1.294 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.4534, allocations: 21.72 kB / 1.294 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4535, allocations: 318.8 kB / 1.295 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.4536, allocations: 4 kB / 1.295 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.4536, allocations: 7.938 kB / 1.295 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.4536, allocations: 16.92 kB / 1.295 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4536, allocations: 4 kB / 1.295 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/0.4538, allocations: 49.64 kB / 1.295 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4538, allocations: 11.94 kB / 1.295 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.4538, allocations: 4.062 kB / 1.295 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4539, allocations: 4 kB / 1.295 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.4539, allocations: 0 / 1.295 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4539, allocations: 0 / 1.295 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.4539, allocations: 3.953 kB / 1.295 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4539, allocations: 0 / 1.295 GB, free: 7.652 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.000135/0.454, allocations: 189.1 kB / 1.295 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.4541, allocations: 116.8 kB / 1.295 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/0.4542, allocations: 104.8 kB / 1.295 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-05/0.4543, allocations: 184.2 kB / 1.295 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.159e-05/0.4544, allocations: 184.2 kB / 1.295 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/0.4545, allocations: 184.2 kB / 1.296 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.4548, allocations: 364.8 kB / 1.296 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-05/0.4548, allocations: 105 kB / 1.296 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.4549, allocations: 104.9 kB / 1.296 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-05/0.455, allocations: 180.2 kB / 1.296 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/0.4551, allocations: 184.2 kB / 1.296 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.837e-05/0.4552, allocations: 188.2 kB / 1.297 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.043e-05/0.4552, allocations: 176.3 kB / 1.297 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.4554, allocations: 311.7 kB / 1.297 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.4555, allocations: 116.9 kB / 1.297 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.4556, allocations: 188.2 kB / 1.297 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4557, allocations: 101 kB / 1.298 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4558, allocations: 184.2 kB / 1.298 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.4559, allocations: 105 kB / 1.298 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.331e-05/0.456, allocations: 105.3 kB / 1.298 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.456, allocations: 0 / 1.298 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009716/0.457, allocations: 295 kB / 1.298 GB, free: 3.875 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.001689/0.4586, allocations: 0.548 MB / 1.299 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.4588, allocations: 45.62 kB / 1.299 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.4588, allocations: 4 kB / 1.299 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-06/0.4588, allocations: 352 / 1.299 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.4594, allocations: 463.7 kB / 1.299 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.4599, allocations: 258.3 kB / 1.299 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.204e-05/0.4599, allocations: 63.59 kB / 1.3 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.46, allocations: 0 / 1.3 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.46, allocations: 11.44 kB / 1.3 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.46, allocations: 0 / 1.3 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of Templates: time 0.01304/0.473, allocations: 5.905 MB / 1.305 GB, free: 12.58 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.594280771911144]