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.InternalResistancesTwoUTube.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.002046/0.002046, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002515/0.002515, allocations: 170 kB / 22.46 MB, free: 5.359 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.184 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 2.955/2.955, allocations: 389 MB / 0.633 GB, free: 0.9883 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.793e-06, allocations: 3.984 kB / 1 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/4.13e-05, allocations: 6.281 kB / 1 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003197/0.003238, allocations: 1.436 MB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005641/0.00888, allocations: 2.677 MB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.008941, allocations: 0 / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.008976, allocations: 3.938 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.009064, allocations: 19.78 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005245/0.01431, allocations: 1.645 MB / 1.006 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.01444, allocations: 43.69 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.0145, allocations: 15.98 kB / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.01456, allocations: 11.98 kB / 1.006 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.01459, allocations: 11.94 kB / 1.006 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.01462, allocations: 4 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.01785, allocations: 1.489 MB / 1.007 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.01787, allocations: 7.938 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.0179, allocations: 8 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.02061, allocations: 1.274 MB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.02061, allocations: 0 / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.02061, allocations: 4 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.02063, allocations: 0 / 1.009 GB, free: 14.52 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.0009893/0.02162, allocations: 476 kB / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.02166, allocations: 12.03 kB / 1.009 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.02176, allocations: 80.17 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.02198, allocations: 200.9 kB / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.871e-05/0.02208, allocations: 150.9 kB / 1.01 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.02218, allocations: 158.9 kB / 1.01 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.932e-05/0.02228, allocations: 105.5 kB / 1.01 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/0.02233, allocations: 75.47 kB / 1.01 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/0.02243, allocations: 158.7 kB / 1.01 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-05/0.02251, allocations: 150.6 kB / 1.01 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.02259, allocations: 150.6 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.02299, allocations: 421.6 kB / 1.011 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.02312, allocations: 169.1 kB / 1.011 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.02317, allocations: 80.14 kB / 1.011 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.02321, allocations: 79.28 kB / 1.011 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.232e-05/0.02328, allocations: 105.8 kB / 1.011 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.02328, allocations: 0 / 1.011 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.02339, allocations: 45.53 kB / 1.011 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.02348, allocations: 134.6 kB / 1.011 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.02367, allocations: 136.1 kB / 1.011 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.02369, allocations: 25.7 kB / 1.011 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.02377, allocations: 92.14 kB / 1.012 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.02377, allocations: 0 / 1.012 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.02382, allocations: 21.7 kB / 1.012 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.02399, allocations: 314.8 kB / 1.012 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.02401, allocations: 8 kB / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.02403, allocations: 4 kB / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.02408, allocations: 16.84 kB / 1.012 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.02408, allocations: 0 / 1.012 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.02425, allocations: 61.69 kB / 1.012 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.02427, allocations: 4 kB / 1.012 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.02429, allocations: 4 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.02431, allocations: 3.938 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.02431, allocations: 3.938 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.02432, allocations: 0 / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.02435, allocations: 7.953 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.02436, allocations: 0 / 1.012 GB, free: 10.95 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.0001242/0.02448, allocations: 189.1 kB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.02456, allocations: 101 kB / 1.012 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-05/0.02464, allocations: 120.8 kB / 1.012 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-05/0.02473, allocations: 180.2 kB / 1.013 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/0.02484, allocations: 184.2 kB / 1.013 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/0.02494, allocations: 180.2 kB / 1.013 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.02521, allocations: 364.9 kB / 1.013 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.663e-05/0.02527, allocations: 104.9 kB / 1.013 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.02531, allocations: 105 kB / 1.013 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.02542, allocations: 176.3 kB / 1.014 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/0.02552, allocations: 184.2 kB / 1.014 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.014e-05/0.02561, allocations: 184.3 kB / 1.014 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.081e-05/0.0257, allocations: 188.1 kB / 1.014 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.02592, allocations: 315.7 kB / 1.014 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.02598, allocations: 104.9 kB / 1.015 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.02608, allocations: 180.3 kB / 1.015 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.02618, allocations: 104.9 kB / 1.015 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.02629, allocations: 184.2 kB / 1.015 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.02636, allocations: 113.2 kB / 1.015 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.02643, allocations: 97.14 kB / 1.015 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.02643, allocations: 0 / 1.015 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000995/0.02743, allocations: 299 kB / 1.015 GB, free: 7.184 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.001351/0.02878, allocations: 0.5986 MB / 1.016 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.0289, allocations: 33.7 kB / 1.016 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0289, allocations: 0 / 1.016 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.02892, allocations: 4 kB / 1.016 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.02945, allocations: 467.7 kB / 1.017 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.02986, allocations: 232 kB / 1.017 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.499e-05/0.02995, allocations: 71.33 kB / 1.017 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.02996, allocations: 3.984 kB / 1.017 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.02998, allocations: 8.5 kB / 1.017 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.02998, allocations: 0 / 1.017 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of Templates: time 0.01223/0.04221, allocations: 5.902 MB / 1.023 GB, free: 15.87 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.78549725189805]