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.001643/0.001643, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00189/0.00189, allocations: 186 kB / 20.78 MB, free: 1.547 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.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.671/2.671, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 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.001988/0.001988, allocations: 71.88 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 160.8 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002953/0.3763, allocations: 1.438 MB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005138/0.3815, allocations: 2.935 MB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.3815, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.3816, allocations: 7.922 kB / 1.221 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.3816, allocations: 7.875 kB / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.3862, allocations: 1.601 MB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3864, allocations: 47.67 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.3864, allocations: 4 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.3865, allocations: 23.84 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.3865, allocations: 15.94 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3865, allocations: 0 / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.3893, allocations: 1.576 MB / 1.224 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3893, allocations: 7.938 kB / 1.224 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.3893, allocations: 19.88 kB / 1.224 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.3912, allocations: 1.118 MB / 1.225 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3912, allocations: 0 / 1.225 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3912, allocations: 0 / 1.225 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3912, allocations: 0 / 1.225 GB, free: 6.438 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.0007927/0.392, allocations: 0.5286 MB / 1.225 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3921, allocations: 8.031 kB / 1.225 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.3922, allocations: 84.16 kB / 1.225 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.3924, allocations: 251.6 kB / 1.226 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.3925, allocations: 158.9 kB / 1.226 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.3926, allocations: 150.9 kB / 1.226 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.275e-05/0.3927, allocations: 105.1 kB / 1.226 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.3927, allocations: 75.28 kB / 1.226 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.3928, allocations: 150.6 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.3929, allocations: 150.6 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.393, allocations: 166.5 kB / 1.227 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.3936, allocations: 465.9 kB / 1.227 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.944e-05/0.3937, allocations: 165.1 kB / 1.227 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.3937, allocations: 84.12 kB / 1.227 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.3938, allocations: 79.28 kB / 1.227 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.3938, allocations: 109.8 kB / 1.227 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3938, allocations: 0 / 1.227 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.762e-05/0.3939, allocations: 37.59 kB / 1.227 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.394, allocations: 126.7 kB / 1.228 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3942, allocations: 135.4 kB / 1.228 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3942, allocations: 25.7 kB / 1.228 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.3942, allocations: 104.1 kB / 1.228 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.3942, allocations: 0 / 1.228 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.3943, allocations: 17.72 kB / 1.228 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3945, allocations: 318.8 kB / 1.228 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.3945, allocations: 4 kB / 1.228 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.3945, allocations: 8 kB / 1.228 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.3945, allocations: 12.92 kB / 1.228 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3945, allocations: 0 / 1.228 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001354/0.3947, allocations: 61.61 kB / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3947, allocations: 5.875 kB / 1.228 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.3947, allocations: 7.984 kB / 1.228 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3947, allocations: 3.938 kB / 1.228 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3947, allocations: 0 / 1.228 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3947, allocations: 4 kB / 1.228 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.3948, allocations: 3.953 kB / 1.228 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3948, allocations: 0 / 1.228 GB, free: 2.66 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.000137/0.3949, allocations: 189.1 kB / 1.228 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.395, allocations: 112.9 kB / 1.229 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.3951, allocations: 120.8 kB / 1.229 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.133e-05/0.3952, allocations: 180.3 kB / 1.229 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.404e-05/0.3952, allocations: 180.2 kB / 1.229 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.477e-05/0.3953, allocations: 180.3 kB / 1.229 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3957, allocations: 413.2 kB / 1.23 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001322/0.3958, allocations: 112.9 kB / 1.23 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.3959, allocations: 105 kB / 1.23 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.396, allocations: 184.1 kB / 1.23 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/0.3961, allocations: 176.3 kB / 1.23 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.351e-05/0.3962, allocations: 176.3 kB / 1.23 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.443e-05/0.3963, allocations: 192.2 kB / 1.23 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.3967, allocations: 303.8 kB / 1.231 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3968, allocations: 186 kB / 1.231 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.3969, allocations: 184.2 kB / 1.231 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3971, allocations: 108.9 kB / 1.231 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.3972, allocations: 184.3 kB / 1.231 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.3972, allocations: 116.9 kB / 1.232 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.926e-05/0.3973, allocations: 99.17 kB / 1.232 GB, free: 15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3973, allocations: 0 / 1.232 GB, free: 15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001129/0.3984, allocations: 287 kB / 1.232 GB, free: 14.72 MB / 0.9825 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.00134/0.3998, allocations: 0.5443 MB / 1.232 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.3999, allocations: 37.7 kB / 1.232 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3999, allocations: 0 / 1.232 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.3999, allocations: 0 / 1.232 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.4004, allocations: 473.5 kB / 1.233 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.4009, allocations: 254.2 kB / 1.233 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.4013, allocations: 0.6807 MB / 1.234 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.363e-05/0.4013, allocations: 0 / 1.234 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.4014, allocations: 11.44 kB / 1.234 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.4014, allocations: 4 kB / 1.234 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of Templates: time 0.01073/0.4121, allocations: 5.625 MB / 1.239 GB, free: 7.086 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.813751451671124]