Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008417/0.0008417, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008369/0.0008369, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.94/0.94, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.779/1.779, allocations: 377.9 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.9823 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.661e-05, allocations: 5.234 kB / 0.9823 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00226/0.002297, allocations: 1.446 MB / 0.9837 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003592/0.005889, allocations: 2.676 MB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.222e-05/0.005961, allocations: 0 / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.005996, allocations: 7.922 kB / 0.9863 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.323e-05/0.006079, allocations: 19.8 kB / 0.9863 GB, free: 13.78 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.01012, allocations: 1.647 MB / 0.988 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.01025, allocations: 47.61 kB / 0.988 GB, free: 12.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.0103, allocations: 4 kB / 0.988 GB, free: 12.1 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.01035, allocations: 15.98 kB / 0.988 GB, free: 12.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.01038, allocations: 11.94 kB / 0.988 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.0104, allocations: 0 / 0.988 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.01264, allocations: 1.493 MB / 0.9895 GB, free: 10.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.01267, allocations: 0 / 0.9895 GB, free: 10.58 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.01271, allocations: 19.92 kB / 0.9895 GB, free: 10.56 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.0144, allocations: 1.27 MB / 0.9908 GB, free: 9.285 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.0144, allocations: 0 / 0.9908 GB, free: 9.285 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.01441, allocations: 0 / 0.9908 GB, free: 9.285 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.01441, allocations: 0 / 0.9908 GB, free: 9.285 MB / 0.948 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.0005855/0.015, allocations: 480 kB / 0.9912 GB, free: 8.785 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.01505, allocations: 8.031 kB / 0.9912 GB, free: 8.777 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.01512, allocations: 80.22 kB / 0.9913 GB, free: 8.699 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.01525, allocations: 193 kB / 0.9915 GB, free: 8.484 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.505e-05/0.01529, allocations: 150.9 kB / 0.9916 GB, free: 8.336 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.01534, allocations: 158.9 kB / 0.9918 GB, free: 8.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.985e-05/0.01541, allocations: 109.5 kB / 0.9919 GB, free: 8.066 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.01544, allocations: 79.41 kB / 0.992 GB, free: 7.988 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.01549, allocations: 154.7 kB / 0.9921 GB, free: 7.836 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.01553, allocations: 150.6 kB / 0.9922 GB, free: 7.688 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.01558, allocations: 158.5 kB / 0.9924 GB, free: 7.531 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.01583, allocations: 417.6 kB / 0.9928 GB, free: 7.094 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/0.01591, allocations: 169.1 kB / 0.993 GB, free: 6.918 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.01594, allocations: 84.14 kB / 0.993 GB, free: 6.832 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.01597, allocations: 75.28 kB / 0.9931 GB, free: 6.758 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.016, allocations: 105.8 kB / 0.9932 GB, free: 6.645 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 2.395e-06/0.01601, allocations: 7.984 kB / 0.9932 GB, free: 6.637 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.485e-05/0.01609, allocations: 37.66 kB / 0.9933 GB, free: 6.594 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.01615, allocations: 134.6 kB / 0.9934 GB, free: 6.449 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.01631, allocations: 143.9 kB / 0.9935 GB, free: 6.301 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.01632, allocations: 25.7 kB / 0.9935 GB, free: 6.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.01637, allocations: 92.08 kB / 0.9936 GB, free: 6.176 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.01637, allocations: 0 / 0.9936 GB, free: 6.176 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.01641, allocations: 25.7 kB / 0.9937 GB, free: 6.145 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.0166, allocations: 310.8 kB / 0.9939 GB, free: 5.832 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.01664, allocations: 8 kB / 0.994 GB, free: 5.824 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.01665, allocations: 4 kB / 0.994 GB, free: 5.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.0167, allocations: 24.94 kB / 0.994 GB, free: 5.793 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.0167, allocations: 4 kB / 0.994 GB, free: 5.789 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001373/0.01684, allocations: 45.66 kB / 0.994 GB, free: 5.738 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01686, allocations: 8 kB / 0.994 GB, free: 5.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.01688, allocations: 0 / 0.994 GB, free: 5.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.0169, allocations: 3.938 kB / 0.994 GB, free: 5.727 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.0169, allocations: 4 kB / 0.994 GB, free: 5.723 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01691, allocations: 3.938 kB / 0.9941 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.01693, allocations: 0 / 0.9941 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.01694, allocations: 0 / 0.9941 GB, free: 5.719 MB / 0.948 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 9.629e-05/0.01704, allocations: 193.1 kB / 0.9942 GB, free: 5.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.01708, allocations: 108.9 kB / 0.9943 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.01712, allocations: 108.8 kB / 0.9944 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.191e-05/0.01717, allocations: 188.1 kB / 0.9946 GB, free: 5.105 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.343e-05/0.01722, allocations: 180.2 kB / 0.9948 GB, free: 4.922 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-05/0.01728, allocations: 180.2 kB / 0.995 GB, free: 4.738 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.01744, allocations: 364.9 kB / 0.9953 GB, free: 4.344 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-05/0.01747, allocations: 101 kB / 0.9954 GB, free: 4.238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.0175, allocations: 108.9 kB / 0.9955 GB, free: 4.125 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.165e-05/0.01755, allocations: 184.2 kB / 0.9957 GB, free: 3.938 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.0176, allocations: 180.2 kB / 0.9959 GB, free: 3.754 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.911e-05/0.01765, allocations: 188.3 kB / 0.996 GB, free: 3.562 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-05/0.0177, allocations: 192.1 kB / 0.9962 GB, free: 3.367 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.01782, allocations: 307.8 kB / 0.9965 GB, free: 3.043 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.01786, allocations: 108.9 kB / 0.9966 GB, free: 2.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.01792, allocations: 180.3 kB / 0.9968 GB, free: 2.746 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.01797, allocations: 105.2 kB / 0.9969 GB, free: 2.637 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.01803, allocations: 188.2 kB / 0.9971 GB, free: 2.445 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.01806, allocations: 105 kB / 0.9972 GB, free: 2.336 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.01811, allocations: 97.77 kB / 0.9973 GB, free: 2.242 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01811, allocations: 0 / 0.9973 GB, free: 2.242 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007885/0.0189, allocations: 303 kB / 0.9976 GB, free: 1.945 MB / 0.948 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.001027/0.01993, allocations: 0.5913 MB / 0.9981 GB, free: 1.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.02005, allocations: 37.7 kB / 0.9982 GB, free: 1.297 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02006, allocations: 0 / 0.9982 GB, free: 1.297 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.02006, allocations: 64 / 0.9982 GB, free: 1.297 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.0204, allocations: 471.7 kB / 0.9986 GB, free: 0.832 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.02078, allocations: 257.7 kB / 0.9989 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.02083, allocations: 71.58 kB / 0.9989 GB, free: 468 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.02085, allocations: 12.5 kB / 0.9989 GB, free: 456 kB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/0.02085, allocations: 0 / 0.9989 GB, free: 456 kB / 0.948 GB Notification: Performance of Templates: time 0.007732/0.02859, allocations: 4.978 MB / 1.004 GB, free: 11.47 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.9202107563614845]