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.InternalResistancesTwoUTubeNegative.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.002203/0.002203, allocations: 88.72 kB / 19.44 MB, free: 356 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.002809/0.002809, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.553/1.553, allocations: 177.2 MB / 203.1 MB, free: 5.598 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.381/3.381, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.8777 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.201e-05/5.488e-05, allocations: 3.078 kB / 0.8777 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.004166/0.00422, allocations: 1.462 MB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005832/0.01005, allocations: 2.672 MB / 0.8817 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.01011, allocations: 7.938 kB / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.01014, allocations: 4.469 kB / 0.8817 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.01023, allocations: 16.72 kB / 0.8818 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00543/0.01566, allocations: 1.642 MB / 0.8834 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.01579, allocations: 47.67 kB / 0.8834 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.01584, allocations: 4 kB / 0.8834 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.01591, allocations: 19.92 kB / 0.8834 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.483e-05/0.01594, allocations: 11.98 kB / 0.8834 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.01596, allocations: 4 kB / 0.8834 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.01955, allocations: 1.489 MB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.01957, allocations: 7.938 kB / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.01961, allocations: 12 kB / 0.8849 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.02245, allocations: 1.282 MB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.02245, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.613e-06/0.02245, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.02246, allocations: 0 / 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.001044/0.0235, allocations: 476 kB / 0.8866 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.02355, allocations: 12.03 kB / 0.8866 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.02364, allocations: 80.17 kB / 0.8867 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.02384, allocations: 193 kB / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.503e-05/0.02392, allocations: 154.9 kB / 0.887 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.02401, allocations: 154.9 kB / 0.8872 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.0241, allocations: 109.5 kB / 0.8873 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.02414, allocations: 75.47 kB / 0.8874 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/0.02424, allocations: 154.7 kB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.012e-05/0.02432, allocations: 150.6 kB / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.0244, allocations: 150.6 kB / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.02481, allocations: 421.5 kB / 0.8882 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.02494, allocations: 169.2 kB / 0.8884 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.02499, allocations: 80.14 kB / 0.8884 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.02504, allocations: 75.28 kB / 0.8885 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.377e-05/0.02512, allocations: 109.8 kB / 0.8886 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.02512, allocations: 4 kB / 0.8886 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001126/0.02523, allocations: 41.59 kB / 0.8887 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.02533, allocations: 130.6 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.02552, allocations: 132.1 kB / 0.8889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.02555, allocations: 25.7 kB / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.02564, allocations: 100.1 kB / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.02564, allocations: 0 / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.02568, allocations: 13.72 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.02588, allocations: 322.8 kB / 0.8894 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.02591, allocations: 8 kB / 0.8894 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.02593, allocations: 8 kB / 0.8894 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.02598, allocations: 12.86 kB / 0.8894 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02598, allocations: 3.938 kB / 0.8894 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.02617, allocations: 53.62 kB / 0.8894 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.02619, allocations: 4 kB / 0.8894 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.02621, allocations: 4 kB / 0.8894 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.02624, allocations: 3.938 kB / 0.8894 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.02624, allocations: 0 / 0.8894 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.02625, allocations: 4 kB / 0.8895 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.02628, allocations: 12 kB / 0.8895 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.02629, allocations: 0 / 0.8895 GB, free: 10.15 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.0001447/0.02643, allocations: 189.2 kB / 0.8896 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.02652, allocations: 104.9 kB / 0.8897 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.02661, allocations: 120.7 kB / 0.8899 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/0.02672, allocations: 180.2 kB / 0.89 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/0.02683, allocations: 184.2 kB / 0.8902 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.663e-05/0.02693, allocations: 176.3 kB / 0.8904 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.02723, allocations: 372.8 kB / 0.8907 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.237e-05/0.0273, allocations: 101 kB / 0.8908 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.02737, allocations: 105 kB / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.02748, allocations: 180.2 kB / 0.8911 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.02763, allocations: 180.3 kB / 0.8913 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001136/0.02774, allocations: 184.2 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002404/0.02798, allocations: 188.2 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.02821, allocations: 307.8 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.02828, allocations: 104.9 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.02841, allocations: 188.2 kB / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.02852, allocations: 101.3 kB / 0.8923 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.02863, allocations: 184.2 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.0287, allocations: 113 kB / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.02878, allocations: 97.77 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02878, allocations: 4 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001115/0.02989, allocations: 298.9 kB / 0.893 GB, free: 6.379 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.001679/0.03157, allocations: 0.5907 MB / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.0317, allocations: 37.69 kB / 0.8936 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.0317, allocations: 0 / 0.8936 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.0317, allocations: 4.062 kB / 0.8936 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.03227, allocations: 463.6 kB / 0.894 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.03273, allocations: 231.6 kB / 0.8942 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.757e-05/0.03283, allocations: 63.34 kB / 0.8943 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.643e-05/0.03285, allocations: 0 / 0.8943 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.03287, allocations: 12.5 kB / 0.8943 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.03288, allocations: 7.938 kB / 0.8943 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of Templates: time 0.01381/0.04668, allocations: 5.955 MB / 0.9001 GB, free: 15.02 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.123527176911011]