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.002036/0.002036, allocations: 85.48 kB / 19.44 MB, free: 332 kB / 13.93 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.002262/0.002262, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.641/1.641, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.473/3.473, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.134e-06/2.134e-06, allocations: 0 / 0.8776 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.523e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003355/0.00339, allocations: 1.472 MB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005727/0.009117, allocations: 2.833 MB / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.009173, allocations: 0 / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.009195, allocations: 3.984 kB / 0.8818 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.009274, allocations: 15.81 kB / 0.8818 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.01412, allocations: 1.648 MB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.01424, allocations: 43.67 kB / 0.8834 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.01428, allocations: 7.984 kB / 0.8834 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.01434, allocations: 19.92 kB / 0.8835 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.01437, allocations: 16 kB / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.01439, allocations: 0 / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.01737, allocations: 1.501 MB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.01739, allocations: 0 / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.01743, allocations: 11.94 kB / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.01988, allocations: 1.282 MB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.01988, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.345e-06/0.01989, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.0199, allocations: 4 kB / 0.8862 GB, free: 13.71 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.001236/0.02114, allocations: 0.5644 MB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.02119, allocations: 8.031 kB / 0.8868 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.02132, allocations: 128.1 kB / 0.8869 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.02156, allocations: 235.8 kB / 0.8871 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.02173, allocations: 238.8 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.02188, allocations: 242.8 kB / 0.8876 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.02202, allocations: 153.4 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.012e-05/0.0221, allocations: 119.4 kB / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.02225, allocations: 242.5 kB / 0.8881 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.02241, allocations: 242.4 kB / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.02256, allocations: 238.4 kB / 0.8885 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.02313, allocations: 0.5876 MB / 0.8891 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.02335, allocations: 269.4 kB / 0.8893 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.02344, allocations: 126.9 kB / 0.8895 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.457e-05/0.02352, allocations: 119.2 kB / 0.8896 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.02364, allocations: 152.6 kB / 0.8897 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.02364, allocations: 3.938 kB / 0.8897 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001279/0.02377, allocations: 33.66 kB / 0.8898 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.0239, allocations: 186.5 kB / 0.8899 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.02414, allocations: 196.3 kB / 0.8901 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.02417, allocations: 25.7 kB / 0.8902 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.02429, allocations: 142.8 kB / 0.8903 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.0243, allocations: 0 / 0.8903 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.02435, allocations: 31.36 kB / 0.8903 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003522/0.02471, allocations: 492.2 kB / 0.8908 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.02474, allocations: 12 kB / 0.8908 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.02477, allocations: 7.984 kB / 0.8908 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.901e-05/0.02483, allocations: 19.75 kB / 0.8908 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02483, allocations: 0 / 0.8908 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001941/0.02502, allocations: 45.7 kB / 0.8909 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.02505, allocations: 7.938 kB / 0.8909 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.02508, allocations: 4 kB / 0.8909 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.0251, allocations: 4.062 kB / 0.8909 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.938e-06/0.0251, allocations: 3.938 kB / 0.8909 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.02511, allocations: 3.984 kB / 0.8909 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.02515, allocations: 7.953 kB / 0.8909 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.02516, allocations: 0 / 0.8909 GB, free: 8.676 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 0.0002235/0.02538, allocations: 271.8 kB / 0.8912 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.0255, allocations: 156.8 kB / 0.8913 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.02563, allocations: 156.6 kB / 0.8915 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001683/0.0258, allocations: 268.1 kB / 0.8917 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001789/0.02598, allocations: 272 kB / 0.892 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000179/0.02616, allocations: 272 kB / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.02661, allocations: 0.496 MB / 0.8927 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.505e-05/0.0267, allocations: 149 kB / 0.8929 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.0268, allocations: 152.9 kB / 0.893 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.02695, allocations: 268.1 kB / 0.8933 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.02712, allocations: 268 kB / 0.8935 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001686/0.02729, allocations: 268.1 kB / 0.8938 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005201/0.02781, allocations: 272 kB / 0.894 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.02811, allocations: 447.9 kB / 0.8945 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/0.0282, allocations: 152.8 kB / 0.8946 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.02839, allocations: 280 kB / 0.8949 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.02852, allocations: 148.8 kB / 0.895 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.02869, allocations: 276 kB / 0.8953 GB, free: 4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/0.02878, allocations: 156.8 kB / 0.8954 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001183/0.02889, allocations: 141.4 kB / 0.8956 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02889, allocations: 0 / 0.8956 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001226/0.03012, allocations: 299 kB / 0.8958 GB, free: 3.41 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.001565/0.03168, allocations: 0.6293 MB / 0.8965 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.03184, allocations: 45.39 kB / 0.8965 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.03185, allocations: 4 kB / 0.8965 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/0.03186, allocations: 7.984 kB / 0.8965 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.03257, allocations: 0.7068 MB / 0.8972 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.03307, allocations: 281.1 kB / 0.8975 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/0.03316, allocations: 71.33 kB / 0.8975 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.595e-05/0.03318, allocations: 0 / 0.8975 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.03321, allocations: 8.5 kB / 0.8975 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of SimCode: time 1.283e-06/0.03321, allocations: 4 kB / 0.8976 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of Templates: time 0.0145/0.04771, allocations: 5.985 MB / 0.9034 GB, free: 11.66 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] 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: 9.269660167046823]