Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 118.5 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 1.057 GB, free: 1.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4017, allocations: 160.7 MB / 1.214 GB, free: 0.8633 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002928/0.4046, allocations: 1.45 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005252/0.4099, allocations: 2.916 MB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.41, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.41, allocations: 11.92 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.4101, allocations: 15.86 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005502/0.4156, allocations: 1.603 MB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.4158, allocations: 43.67 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.279e-05/0.4158, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.4159, allocations: 15.94 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.4159, allocations: 15.92 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.4159, allocations: 4 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.4191, allocations: 1.572 MB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.4191, allocations: 11.92 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.4191, allocations: 15.88 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4208, allocations: 1.118 MB / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4209, allocations: 0 / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4209, allocations: 0 / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.4209, allocations: 4 kB / 1.223 GB, free: 8.043 MB / 0.9669 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.0007332/0.4216, allocations: 0.5285 MB / 1.223 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4216, allocations: 15.97 kB / 1.223 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.4217, allocations: 80.17 kB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.4219, allocations: 253.6 kB / 1.224 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.422, allocations: 150.9 kB / 1.224 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.4221, allocations: 158.9 kB / 1.224 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.4222, allocations: 109 kB / 1.224 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.4222, allocations: 79.28 kB / 1.224 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.4223, allocations: 150.6 kB / 1.224 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/0.4223, allocations: 150.6 kB / 1.224 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.87e-05/0.4224, allocations: 150.6 kB / 1.224 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.4228, allocations: 473.9 kB / 1.225 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4229, allocations: 173.1 kB / 1.225 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.4229, allocations: 80.14 kB / 1.225 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.423, allocations: 75.28 kB / 1.225 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.12e-05/0.423, allocations: 117.8 kB / 1.225 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 4.729e-06/0.423, allocations: 4 kB / 1.225 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.45e-05/0.4231, allocations: 33.66 kB / 1.225 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.4232, allocations: 126.7 kB / 1.226 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.4234, allocations: 127.9 kB / 1.226 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4234, allocations: 33.64 kB / 1.226 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.4234, allocations: 96.08 kB / 1.226 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.4234, allocations: 0 / 1.226 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.4235, allocations: 17.72 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4236, allocations: 318.8 kB / 1.226 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.4237, allocations: 11.98 kB / 1.226 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.4237, allocations: 4 kB / 1.226 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.4237, allocations: 16.92 kB / 1.226 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4237, allocations: 0 / 1.226 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001428/0.4239, allocations: 49.64 kB / 1.226 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4239, allocations: 4 kB / 1.226 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.4239, allocations: 4 kB / 1.226 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4239, allocations: 3.984 kB / 1.226 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-06/0.4239, allocations: 4 kB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4239, allocations: 4 kB / 1.226 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.424, allocations: 7.953 kB / 1.226 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.424, allocations: 0 / 1.226 GB, free: 4.262 MB / 0.9669 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.0001392/0.4241, allocations: 185.1 kB / 1.226 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.4242, allocations: 112.9 kB / 1.226 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/0.4242, allocations: 116.8 kB / 1.227 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.063e-05/0.4243, allocations: 184.2 kB / 1.227 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.001e-05/0.4244, allocations: 176.3 kB / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.968e-05/0.4245, allocations: 180.2 kB / 1.227 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.4248, allocations: 417.2 kB / 1.228 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.291e-05/0.4248, allocations: 108.9 kB / 1.228 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.4249, allocations: 104.9 kB / 1.228 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.681e-05/0.425, allocations: 184.3 kB / 1.228 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.4251, allocations: 184.1 kB / 1.228 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.525e-05/0.4251, allocations: 176.3 kB / 1.228 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.247e-05/0.4252, allocations: 192.2 kB / 1.228 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.4254, allocations: 307.8 kB / 1.229 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4255, allocations: 189.9 kB / 1.229 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.4256, allocations: 188.2 kB / 1.229 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.4257, allocations: 104.9 kB / 1.229 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.4258, allocations: 176.3 kB / 1.229 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.4258, allocations: 105 kB / 1.229 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.392e-05/0.4259, allocations: 111.2 kB / 1.23 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4259, allocations: 0 / 1.23 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008215/0.4267, allocations: 279 kB / 1.23 GB, free: 340 kB / 0.9669 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.001243/0.428, allocations: 0.5519 MB / 1.23 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.4281, allocations: 41.7 kB / 1.23 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4281, allocations: 4 kB / 1.23 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4281, allocations: 0 / 1.23 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.4285, allocations: 461.7 kB / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.4289, allocations: 273.7 kB / 1.231 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4293, allocations: 0.6846 MB / 1.232 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.4293, allocations: 7.438 kB / 1.232 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4293, allocations: 0 / 1.232 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.008689/0.438, allocations: 4.745 MB / 1.236 GB, free: 9.512 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.921237692935392]