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.000924/0.000924, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009463/0.0009463, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9137/0.9137, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 2.024/2.024, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.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 1.473e-06/1.473e-06, allocations: 0 / 0.8783 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.498e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002118/0.002143, allocations: 1.515 MB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.005311, allocations: 2.841 MB / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.005358, allocations: 0 / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.005383, allocations: 7.922 kB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.005442, allocations: 15.8 kB / 0.8825 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.008505, allocations: 1.661 MB / 0.8842 GB, free: 180 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.008588, allocations: 39.69 kB / 0.8842 GB, free: 140 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.008628, allocations: 7.984 kB / 0.8842 GB, free: 132 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.008665, allocations: 19.98 kB / 0.8842 GB, free: 112 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/0.008686, allocations: 11.94 kB / 0.8842 GB, free: 100 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.008699, allocations: 0 / 0.8842 GB, free: 100 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.01076, allocations: 1.493 MB / 0.8857 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.01077, allocations: 0 / 0.8857 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.01081, allocations: 19.92 kB / 0.8857 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.01233, allocations: 1.282 MB / 0.887 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01234, allocations: 0 / 0.887 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.31e-07/0.01234, allocations: 0 / 0.887 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.01234, allocations: 0 / 0.887 GB, free: 13.3 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.0005769/0.01292, allocations: 0.5644 MB / 0.8875 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.01296, allocations: 8.031 kB / 0.8875 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.01303, allocations: 128.1 kB / 0.8877 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.01316, allocations: 241.6 kB / 0.8879 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.01322, allocations: 242.7 kB / 0.8881 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.01328, allocations: 238.8 kB / 0.8883 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.522e-05/0.01335, allocations: 149.4 kB / 0.8885 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.01338, allocations: 123.4 kB / 0.8886 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.01343, allocations: 246.5 kB / 0.8888 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.01348, allocations: 242.4 kB / 0.8891 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.01353, allocations: 238.4 kB / 0.8893 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.01379, allocations: 0.5952 MB / 0.8899 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.01388, allocations: 261.4 kB / 0.8901 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.01391, allocations: 126.9 kB / 0.8902 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.01395, allocations: 123.2 kB / 0.8904 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.01399, allocations: 156.6 kB / 0.8905 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.01399, allocations: 0 / 0.8905 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.268e-05/0.01406, allocations: 37.62 kB / 0.8906 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.01411, allocations: 178.5 kB / 0.8907 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.01423, allocations: 193.9 kB / 0.8909 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.01424, allocations: 25.7 kB / 0.8909 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.01429, allocations: 134.9 kB / 0.8911 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.01429, allocations: 0 / 0.8911 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.01432, allocations: 27.36 kB / 0.8911 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.01442, allocations: 496.2 kB / 0.8916 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.01444, allocations: 8 kB / 0.8916 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.01445, allocations: 7.984 kB / 0.8916 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.01448, allocations: 11.72 kB / 0.8916 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01449, allocations: 4 kB / 0.8916 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001124/0.0146, allocations: 53.59 kB / 0.8916 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01461, allocations: 6.5 kB / 0.8916 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.01463, allocations: 4 kB / 0.8917 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01464, allocations: 3.984 kB / 0.8917 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-06/0.01465, allocations: 8 kB / 0.8917 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01465, allocations: 3.984 kB / 0.8917 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.01467, allocations: 0 / 0.8917 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.01467, allocations: 4 kB / 0.8917 GB, free: 8.27 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 8.104e-05/0.01476, allocations: 275.8 kB / 0.8919 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.0148, allocations: 152.8 kB / 0.8921 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.01485, allocations: 156.6 kB / 0.8922 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-05/0.0149, allocations: 272.1 kB / 0.8925 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.666e-05/0.01496, allocations: 272 kB / 0.8927 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001956/0.01515, allocations: 272 kB / 0.893 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.01531, allocations: 0.4921 MB / 0.8935 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.01534, allocations: 157 kB / 0.8936 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.01537, allocations: 148.9 kB / 0.8938 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-05/0.01542, allocations: 268 kB / 0.894 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.01548, allocations: 268.1 kB / 0.8943 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.01553, allocations: 272 kB / 0.8945 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.217e-05/0.01558, allocations: 264.1 kB / 0.8948 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.01571, allocations: 459.8 kB / 0.8952 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.01575, allocations: 152.9 kB / 0.8954 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.01581, allocations: 268 kB / 0.8956 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.01587, allocations: 148.9 kB / 0.8958 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.01593, allocations: 276 kB / 0.896 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.01596, allocations: 148.8 kB / 0.8962 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.01601, allocations: 139.2 kB / 0.8963 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01601, allocations: 0 / 0.8963 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005886/0.01659, allocations: 295 kB / 0.8966 GB, free: 3.016 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.0008758/0.01747, allocations: 0.6338 MB / 0.8972 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.661e-05/0.01757, allocations: 49.38 kB / 0.8973 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01757, allocations: 4 kB / 0.8973 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.01757, allocations: 0 / 0.8973 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.0179, allocations: 0.714 MB / 0.898 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.01818, allocations: 277.1 kB / 0.8982 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.01822, allocations: 55.34 kB / 0.8983 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.01823, allocations: 0 / 0.8983 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.01825, allocations: 12.5 kB / 0.8983 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.01825, allocations: 0 / 0.8983 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of Templates: time 0.007729/0.02598, allocations: 5.982 MB / 0.9041 GB, free: 11.27 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] 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","",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.442465885076672]