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.InternalResistancesOneUTube.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.001646/0.001646, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002195/0.002195, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.637/1.637, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.955/2.955, allocations: 476.8 MB / 0.7714 GB, free: 4.293 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002068/0.002068, allocations: 65.22 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4158, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003104/0.4189, allocations: 1.473 MB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005264/0.4241, allocations: 2.951 MB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.4242, allocations: 4 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.4242, allocations: 7.922 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.4243, allocations: 11.88 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004823/0.4291, allocations: 1.681 MB / 1.291 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.4292, allocations: 43.67 kB / 1.291 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.4293, allocations: 4 kB / 1.291 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.4293, allocations: 15.92 kB / 1.291 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.4294, allocations: 11.92 kB / 1.291 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4294, allocations: 4 kB / 1.291 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.4323, allocations: 1.716 MB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.4323, allocations: 7.922 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.4324, allocations: 19.81 kB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.4342, allocations: 1.126 MB / 1.294 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4342, allocations: 0 / 1.294 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.826e-06/0.4342, allocations: 0 / 1.294 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4342, allocations: 0 / 1.294 GB, free: 2.145 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.000689/0.4349, allocations: 468 kB / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4349, allocations: 8.031 kB / 1.294 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.435, allocations: 84.22 kB / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.4352, allocations: 197.7 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.4353, allocations: 154.9 kB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.4353, allocations: 154.9 kB / 1.295 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.4354, allocations: 109 kB / 1.295 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/0.4355, allocations: 79.28 kB / 1.295 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/0.4356, allocations: 154.6 kB / 1.295 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.4356, allocations: 150.6 kB / 1.295 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.4357, allocations: 150.6 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.436, allocations: 440.9 kB / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4361, allocations: 181.1 kB / 1.296 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.4362, allocations: 84.08 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.4362, allocations: 75.28 kB / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/0.4363, allocations: 113.8 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4363, allocations: 0 / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.253e-05/0.4364, allocations: 25.7 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.4365, allocations: 134.6 kB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.4366, allocations: 139.7 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4367, allocations: 25.7 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.4367, allocations: 88.12 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.4367, allocations: 0 / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4368, allocations: 21.72 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.4369, allocations: 314.8 kB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.437, allocations: 8 kB / 1.297 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.437, allocations: 4 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.437, allocations: 16.86 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.437, allocations: 0 / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001332/0.4371, allocations: 45.62 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4372, allocations: 8 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.4372, allocations: 3.938 kB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4372, allocations: 0 / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.4372, allocations: 0 / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4372, allocations: 4 kB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.4372, allocations: 3.953 kB / 1.297 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.4372, allocations: 4.062 kB / 1.297 GB, free: 14.57 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.0001366/0.4374, allocations: 193.1 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.4375, allocations: 112.9 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.4375, allocations: 116.7 kB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-05/0.4376, allocations: 180.3 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.711e-05/0.4377, allocations: 176.3 kB / 1.298 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.119e-05/0.4378, allocations: 192.2 kB / 1.298 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.4381, allocations: 380.3 kB / 1.298 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.362e-05/0.4381, allocations: 108.9 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.4382, allocations: 105 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-05/0.4382, allocations: 176.3 kB / 1.299 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.4383, allocations: 188.2 kB / 1.299 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.181e-05/0.4384, allocations: 180.2 kB / 1.299 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.306e-05/0.4385, allocations: 188.1 kB / 1.299 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.4386, allocations: 299.8 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.4387, allocations: 116.8 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.4388, allocations: 188.2 kB / 1.3 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.4389, allocations: 104.9 kB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.439, allocations: 176.3 kB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.439, allocations: 109 kB / 1.3 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.6e-05/0.4391, allocations: 102.4 kB / 1.3 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4391, allocations: 3.938 kB / 1.3 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008203/0.4399, allocations: 298.9 kB / 1.3 GB, free: 10.76 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.001129/0.441, allocations: 0.5294 MB / 1.301 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.4412, allocations: 33.7 kB / 1.301 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4412, allocations: 0 / 1.301 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4412, allocations: 0 / 1.301 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.4417, allocations: 472.3 kB / 1.301 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.4421, allocations: 266.2 kB / 1.302 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.4424, allocations: 0.6846 MB / 1.302 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.4424, allocations: 11.44 kB / 1.302 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.4424, allocations: 0 / 1.302 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.009254/0.4517, allocations: 4.807 MB / 1.307 GB, free: 3.898 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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: 13.495044787006918]