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.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.002128/0.002128, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002854/0.002854, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.789 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.492/3.492, allocations: 0.4892 GB / 0.7943 GB, free: 35.81 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.InternalResistancesOneUTube,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.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_12_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.002203/0.002203, allocations: 64.14 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4138, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00332/0.4171, allocations: 1.438 MB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005338/0.4225, allocations: 2.638 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.4225, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.4226, allocations: 7.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.4226, allocations: 15.84 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.4276, allocations: 1.619 MB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4277, allocations: 39.75 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.4278, allocations: 3.984 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.4278, allocations: 11.94 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.4279, allocations: 23.86 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.4279, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.4308, allocations: 1.443 MB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.4309, allocations: 4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.4309, allocations: 19.88 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.4334, allocations: 1.072 MB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4334, allocations: 4 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4334, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4334, allocations: 0 / 1.334 GB, free: 9.461 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.001004/0.4344, allocations: 472 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.4345, allocations: 8.031 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.4346, allocations: 84.17 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.4348, allocations: 185.8 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.4349, allocations: 158.9 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.435, allocations: 154.9 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.4351, allocations: 109 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.4351, allocations: 75.28 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.4352, allocations: 150.6 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/0.4353, allocations: 150.6 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.4354, allocations: 158.5 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.4357, allocations: 413.5 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.4358, allocations: 169.1 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.4359, allocations: 80.14 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.4359, allocations: 79.28 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.436, allocations: 113.8 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 3.506e-06/0.436, allocations: 3.984 kB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.000104/0.4361, allocations: 41.53 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.4361, allocations: 130.7 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.4363, allocations: 131.2 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.4363, allocations: 29.64 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.4364, allocations: 96.12 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.4364, allocations: 0 / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.4364, allocations: 13.72 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4366, allocations: 326.9 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.4366, allocations: 4 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.4367, allocations: 12 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.4367, allocations: 12.86 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4367, allocations: 0 / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001585/0.4369, allocations: 49.64 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4369, allocations: 7.938 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.4369, allocations: 4 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.4369, allocations: 3.938 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.4369, allocations: 0 / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4369, allocations: 0 / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.437, allocations: 4 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.437, allocations: 4.062 kB / 1.337 GB, free: 5.914 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.0001204/0.4371, allocations: 185.1 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.4372, allocations: 112.9 kB / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.4372, allocations: 116.7 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.122e-05/0.4373, allocations: 176.3 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.723e-05/0.4374, allocations: 176.3 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.551e-05/0.4375, allocations: 188.2 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.4377, allocations: 364.9 kB / 1.338 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/0.4378, allocations: 104.9 kB / 1.338 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.4378, allocations: 101 kB / 1.338 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.79e-05/0.4379, allocations: 184.3 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.438, allocations: 188.1 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.884e-05/0.4381, allocations: 176.3 kB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.4e-05/0.4382, allocations: 184.2 kB / 1.339 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.4384, allocations: 303.8 kB / 1.339 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.4385, allocations: 116.9 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4386, allocations: 180.2 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4387, allocations: 116.9 kB / 1.34 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.4388, allocations: 176.3 kB / 1.34 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.4388, allocations: 101 kB / 1.34 GB, free: 2.539 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.374e-05/0.4389, allocations: 105 kB / 1.34 GB, free: 2.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4389, allocations: 4 kB / 1.34 GB, free: 2.434 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009339/0.4398, allocations: 294.9 kB / 1.341 GB, free: 2.145 MB / 1.029 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.001533/0.4414, allocations: 0.5311 MB / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.4415, allocations: 41.64 kB / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4415, allocations: 0 / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.4415, allocations: 0 / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.442, allocations: 473.7 kB / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.4425, allocations: 242 kB / 1.342 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.995e-05/0.4426, allocations: 67.34 kB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.4426, allocations: 0 / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.4426, allocations: 7.438 kB / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.4426, allocations: 0 / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of Templates: time 0.01272/0.4553, allocations: 5.753 MB / 1.347 GB, free: 11.03 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.035304291173816]