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.0008843/0.0008843, allocations: 88.7 kB / 20.2 MB, free: 4.23 MB / 18.57 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.0008303/0.0008303, allocations: 161.3 kB / 23.51 MB, free: 0.9219 MB / 18.57 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 0.9254/0.9254, allocations: 177.2 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.961/1.961, allocations: 428.6 MB / 0.6727 GB, free: 4.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 1.563e-06/1.563e-06, allocations: 0 / 0.8772 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.963e-05, allocations: 10.11 kB / 0.8772 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001695/0.001725, allocations: 1.443 MB / 0.8786 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.004805, allocations: 2.682 MB / 0.8812 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.004851, allocations: 0 / 0.8812 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.004868, allocations: 4.719 kB / 0.8812 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.004924, allocations: 11.91 kB / 0.8812 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.007624, allocations: 1.646 MB / 0.8828 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.015e-05/0.007704, allocations: 43.67 kB / 0.8829 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.007735, allocations: 4 kB / 0.8829 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.007774, allocations: 27.92 kB / 0.8829 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.255e-05/0.007796, allocations: 15.97 kB / 0.8829 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.007809, allocations: 0 / 0.8829 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.009364, allocations: 1.497 MB / 0.8844 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.009379, allocations: 0 / 0.8844 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.009407, allocations: 15.94 kB / 0.8844 GB, free: 448 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.01071, allocations: 1.274 MB / 0.8856 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01071, allocations: 0 / 0.8856 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.72e-07/0.01071, allocations: 0 / 0.8856 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.01071, allocations: 4 kB / 0.8856 GB, free: 15.16 MB / 0.8542 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.0005225/0.01123, allocations: 476 kB / 0.8861 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.01127, allocations: 8.031 kB / 0.8861 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.01147, allocations: 84.17 kB / 0.8862 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.01157, allocations: 193 kB / 0.8864 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.01161, allocations: 150.9 kB / 0.8865 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.01165, allocations: 158.9 kB / 0.8866 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.098e-05/0.0117, allocations: 101.5 kB / 0.8867 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.01172, allocations: 75.47 kB / 0.8868 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.01175, allocations: 154.7 kB / 0.887 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.01179, allocations: 150.6 kB / 0.8871 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.01183, allocations: 158.6 kB / 0.8873 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.01202, allocations: 421.5 kB / 0.8877 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.01209, allocations: 173.1 kB / 0.8878 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.01211, allocations: 84.14 kB / 0.8879 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.01213, allocations: 79.28 kB / 0.888 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.01217, allocations: 105.8 kB / 0.8881 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.01217, allocations: 0 / 0.8881 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.007e-05/0.01223, allocations: 33.64 kB / 0.8881 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.01227, allocations: 134.6 kB / 0.8882 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.01238, allocations: 144.4 kB / 0.8884 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.01239, allocations: 29.7 kB / 0.8884 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.01243, allocations: 88.12 kB / 0.8885 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.01243, allocations: 0 / 0.8885 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.01245, allocations: 21.72 kB / 0.8885 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.01253, allocations: 314.8 kB / 0.8888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.01255, allocations: 8 kB / 0.8888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.01256, allocations: 4 kB / 0.8888 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.01259, allocations: 16.86 kB / 0.8888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01259, allocations: 0 / 0.8888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001112/0.01271, allocations: 53.58 kB / 0.8889 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01272, allocations: 8 kB / 0.8889 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.01273, allocations: 4.062 kB / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.01275, allocations: 7.938 kB / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.01275, allocations: 0 / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01275, allocations: 0 / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.01276, allocations: 0 / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.01277, allocations: 0 / 0.8889 GB, free: 11.61 MB / 0.8542 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 6.792e-05/0.01284, allocations: 185.1 kB / 0.8891 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.01287, allocations: 112.9 kB / 0.8892 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.01291, allocations: 112.7 kB / 0.8893 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/0.01295, allocations: 184.2 kB / 0.8895 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.253e-05/0.01299, allocations: 184.2 kB / 0.8897 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-05/0.01303, allocations: 176.3 kB / 0.8898 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.01316, allocations: 368.8 kB / 0.8902 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.01318, allocations: 108.9 kB / 0.8903 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.01321, allocations: 101 kB / 0.8904 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.871e-05/0.01324, allocations: 180.2 kB / 0.8905 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.01329, allocations: 184.3 kB / 0.8907 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.154e-05/0.01333, allocations: 184.2 kB / 0.8909 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.452e-05/0.01338, allocations: 188.2 kB / 0.8911 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.01347, allocations: 307.7 kB / 0.8914 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.0135, allocations: 105 kB / 0.8915 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.01355, allocations: 188.2 kB / 0.8916 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.0136, allocations: 105.2 kB / 0.8917 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.01365, allocations: 188.1 kB / 0.8919 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.01368, allocations: 109 kB / 0.892 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.01372, allocations: 99.25 kB / 0.8921 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01372, allocations: 0 / 0.8921 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004945/0.01422, allocations: 299 kB / 0.8924 GB, free: 7.828 MB / 0.8542 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.0007283/0.01495, allocations: 0.5931 MB / 0.893 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.01503, allocations: 41.69 kB / 0.893 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01503, allocations: 0 / 0.893 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.01503, allocations: 0 / 0.893 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.01545, allocations: 462.5 kB / 0.8935 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.01569, allocations: 235.6 kB / 0.8937 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.01573, allocations: 63.34 kB / 0.8938 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.103e-05/0.01574, allocations: 0 / 0.8938 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.01576, allocations: 12.5 kB / 0.8938 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01576, allocations: 0 / 0.8938 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.006428/0.02218, allocations: 5.937 MB / 0.8996 GB, free: 500 kB / 0.8542 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 -s cvode -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: 5.432965127751231]