Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001775/0.001775, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001918/0.001918, allocations: 163 kB / 22.46 MB, free: 5.375 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.026/3.026, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 1 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.325e-05, allocations: 2.281 kB / 1 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002705/0.002738, allocations: 1.441 MB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004847/0.007585, allocations: 2.63 MB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.007633, allocations: 0 / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.007663, allocations: 7.922 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.007736, allocations: 19.81 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.01204, allocations: 1.624 MB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.01214, allocations: 39.69 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.0122, allocations: 15.89 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.01224, allocations: 15.92 kB / 1.006 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.01227, allocations: 8 kB / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.01228, allocations: 0 / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.01475, allocations: 1.458 MB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.01477, allocations: 7.938 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.0148, allocations: 15.98 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.01659, allocations: 1.235 MB / 1.009 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.0166, allocations: 4 kB / 1.009 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.0166, allocations: 0 / 1.009 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.01661, allocations: 0 / 1.009 GB, free: 14.65 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.0006838/0.0173, allocations: 472 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.01734, allocations: 8.031 kB / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.01741, allocations: 88.16 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.01758, allocations: 194.8 kB / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.01765, allocations: 150.9 kB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.01773, allocations: 150.9 kB / 1.01 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.969e-05/0.01781, allocations: 109.5 kB / 1.01 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.01784, allocations: 75.47 kB / 1.01 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.01791, allocations: 158.6 kB / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.01798, allocations: 150.6 kB / 1.01 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.272e-05/0.01804, allocations: 150.6 kB / 1.01 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.01837, allocations: 417.6 kB / 1.011 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.01848, allocations: 173.2 kB / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.01852, allocations: 80.14 kB / 1.011 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.01856, allocations: 79.22 kB / 1.011 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/0.01862, allocations: 109.8 kB / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.01862, allocations: 4 kB / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.161e-05/0.01871, allocations: 33.66 kB / 1.011 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.0188, allocations: 130.6 kB / 1.011 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01896, allocations: 131.9 kB / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.01898, allocations: 25.7 kB / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.01904, allocations: 92.12 kB / 1.011 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.01904, allocations: 3.938 kB / 1.011 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.01907, allocations: 17.72 kB / 1.011 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.01921, allocations: 314.8 kB / 1.012 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.01924, allocations: 8 kB / 1.012 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.01925, allocations: 7.938 kB / 1.012 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.0193, allocations: 16.92 kB / 1.012 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01931, allocations: 0 / 1.012 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001477/0.01945, allocations: 53.64 kB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01947, allocations: 4 kB / 1.012 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.01949, allocations: 4 kB / 1.012 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.01951, allocations: 3.938 kB / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.01952, allocations: 3.938 kB / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01952, allocations: 3.984 kB / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.01954, allocations: 0 / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.01955, allocations: 4 kB / 1.012 GB, free: 11.11 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.0001192/0.01967, allocations: 189.1 kB / 1.012 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.01975, allocations: 116.9 kB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.01981, allocations: 112.8 kB / 1.012 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.973e-05/0.01989, allocations: 184.1 kB / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.224e-05/0.01997, allocations: 176.3 kB / 1.013 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.318e-05/0.02005, allocations: 180.3 kB / 1.013 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.0203, allocations: 372.8 kB / 1.013 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.995e-05/0.02035, allocations: 101 kB / 1.013 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.02039, allocations: 104.9 kB / 1.013 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.168e-05/0.02048, allocations: 176.3 kB / 1.013 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.02056, allocations: 188.3 kB / 1.014 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.023e-05/0.02064, allocations: 184.2 kB / 1.014 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.409e-05/0.02072, allocations: 188.2 kB / 1.014 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.0209, allocations: 307.7 kB / 1.014 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.02095, allocations: 108.9 kB / 1.014 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.02105, allocations: 184.2 kB / 1.015 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.02113, allocations: 101 kB / 1.015 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.02124, allocations: 188.1 kB / 1.015 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/0.02129, allocations: 101.3 kB / 1.015 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.02136, allocations: 95.27 kB / 1.015 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02136, allocations: 0 / 1.015 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008155/0.02218, allocations: 295 kB / 1.015 GB, free: 7.352 MB / 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.001212/0.02339, allocations: 0.5753 MB / 1.016 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.0235, allocations: 37.64 kB / 1.016 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0235, allocations: 0 / 1.016 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.02351, allocations: 3.938 kB / 1.016 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.024, allocations: 465.9 kB / 1.016 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.02435, allocations: 232 kB / 1.017 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.02442, allocations: 63.34 kB / 1.017 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.297e-05/0.02444, allocations: 0 / 1.017 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.02446, allocations: 16.48 kB / 1.017 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.02446, allocations: 0 / 1.017 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.01133/0.03579, allocations: 5.728 MB / 1.022 GB, free: 236 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.04305712133646]