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.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.00145/0.00145, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.003068/0.003068, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.584/1.584, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 71.88 kB / 1.109 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9547/0.9568, allocations: 168.7 MB / 1.274 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.004283/0.9611, allocations: 1.46 MB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004995/0.9661, allocations: 2.931 MB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.9662, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.9662, allocations: 7.922 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.9662, allocations: 11.86 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.9702, allocations: 1.594 MB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.9703, allocations: 47.67 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.9704, allocations: 4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.9704, allocations: 23.92 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.9704, allocations: 15.88 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.9705, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.9729, allocations: 1.579 MB / 1.282 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.9729, allocations: 4 kB / 1.282 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.973, allocations: 15.88 kB / 1.282 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.9746, allocations: 1.115 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9746, allocations: 3.938 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9746, allocations: 0 / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.9746, allocations: 4 kB / 1.283 GB, free: 11.66 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.0007342/0.9753, allocations: 0.5247 MB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.9754, allocations: 11.97 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.9755, allocations: 84.17 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.9757, allocations: 253.7 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.9757, allocations: 150.9 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.9758, allocations: 162.9 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.31e-05/0.9759, allocations: 109.1 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.9759, allocations: 75.28 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.976, allocations: 150.6 kB / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.689e-05/0.9761, allocations: 150.6 kB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.9761, allocations: 158.5 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.9765, allocations: 473.9 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.9766, allocations: 165.1 kB / 1.285 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.9767, allocations: 84.14 kB / 1.285 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.9767, allocations: 75.28 kB / 1.285 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.9768, allocations: 117.8 kB / 1.285 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9768, allocations: 0 / 1.285 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.16e-05/0.9769, allocations: 33.64 kB / 1.285 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.9769, allocations: 126.7 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.9771, allocations: 129.8 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.9771, allocations: 29.7 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.9772, allocations: 92.12 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.9772, allocations: 4 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.9772, allocations: 17.72 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9774, allocations: 318.8 kB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.9774, allocations: 4 kB / 1.286 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.9774, allocations: 7.969 kB / 1.286 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.9774, allocations: 20.8 kB / 1.286 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9774, allocations: 0 / 1.286 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001471/0.9776, allocations: 61.64 kB / 1.286 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9776, allocations: 4 kB / 1.286 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.9776, allocations: 8.062 kB / 1.286 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.9776, allocations: 0 / 1.286 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-06/0.9776, allocations: 3.984 kB / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.9777, allocations: 0 / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.9777, allocations: 3.938 kB / 1.286 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.9777, allocations: 4 kB / 1.286 GB, free: 7.875 MB / 0.9825 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.0001103/0.9778, allocations: 181.7 kB / 1.286 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.9779, allocations: 120.8 kB / 1.286 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.9779, allocations: 116.8 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/0.978, allocations: 180.3 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.273e-05/0.9781, allocations: 184.1 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-05/0.9782, allocations: 176.3 kB / 1.287 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.9784, allocations: 421.1 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/0.9785, allocations: 108.9 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.9785, allocations: 101 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/0.9786, allocations: 184.2 kB / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.9787, allocations: 176.3 kB / 1.288 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.961e-05/0.9788, allocations: 188.2 kB / 1.288 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.401e-05/0.9789, allocations: 184.2 kB / 1.288 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.979, allocations: 311.7 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.9791, allocations: 186 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.9792, allocations: 184.2 kB / 1.289 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.9793, allocations: 105 kB / 1.289 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.9794, allocations: 184.2 kB / 1.289 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.9794, allocations: 101 kB / 1.289 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.9795, allocations: 109.2 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9795, allocations: 0 / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007824/0.9803, allocations: 279 kB / 1.29 GB, free: 3.957 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.00111/0.9814, allocations: 0.5441 MB / 1.29 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.9815, allocations: 33.7 kB / 1.29 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9815, allocations: 4 kB / 1.29 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-06/0.9815, allocations: 7.938 kB / 1.29 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.982, allocations: 467.7 kB / 1.291 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.9823, allocations: 247.9 kB / 1.291 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.9827, allocations: 0.6884 MB / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.603e-05/0.9827, allocations: 3.984 kB / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.9827, allocations: 11.44 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.9827, allocations: 4 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.01076/0.9934, allocations: 5.643 MB / 1.297 GB, free: 12.29 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.415383564308286]