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.0009178/0.0009178, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001487/0.001487, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.8723/0.8723, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.139/2.139, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 178] 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.502e-06/1.502e-06, allocations: 0 / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.646e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001604/0.00162, allocations: 1.512 MB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.004753, allocations: 2.773 MB / 0.894 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.004783, allocations: 0 / 0.894 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.004801, allocations: 7.922 kB / 0.894 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.004847, allocations: 15.8 kB / 0.8941 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.006976, allocations: 1.638 MB / 0.8956 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.00704, allocations: 43.61 kB / 0.8957 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.889e-05/0.007069, allocations: 4 kB / 0.8957 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.007105, allocations: 27.97 kB / 0.8957 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.097e-05/0.007126, allocations: 15.92 kB / 0.8957 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.007136, allocations: 0 / 0.8957 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.008438, allocations: 1.489 MB / 0.8972 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.00845, allocations: 11.98 kB / 0.8972 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.008466, allocations: 11.94 kB / 0.8972 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.009468, allocations: 1.282 MB / 0.8985 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.009469, allocations: 0 / 0.8985 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00947, allocations: 0 / 0.8985 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.009473, allocations: 4 kB / 0.8985 GB, free: 0.8008 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.0003868/0.00986, allocations: 0.5683 MB / 0.899 GB, free: 200 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.009893, allocations: 8.625 kB / 0.899 GB, free: 192 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.009938, allocations: 124.1 kB / 0.8992 GB, free: 68 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.01004, allocations: 239.7 kB / 0.8994 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.01009, allocations: 238.8 kB / 0.8996 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.01015, allocations: 242.8 kB / 0.8998 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.459e-05/0.0102, allocations: 149.4 kB / 0.9 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.01023, allocations: 123.3 kB / 0.9001 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.01027, allocations: 242.5 kB / 0.9003 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003229/0.01059, allocations: 246.4 kB / 0.9006 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.01065, allocations: 242.4 kB / 0.9008 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.01084, allocations: 0.5686 MB / 0.9014 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.01091, allocations: 265.4 kB / 0.9016 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.01094, allocations: 130.9 kB / 0.9017 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.01097, allocations: 119.2 kB / 0.9018 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.01101, allocations: 164.6 kB / 0.902 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.01101, allocations: 0 / 0.902 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 4.951e-05/0.01106, allocations: 37.66 kB / 0.902 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.01111, allocations: 170.6 kB / 0.9022 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.0112, allocations: 192 kB / 0.9024 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.01121, allocations: 29.7 kB / 0.9024 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.01125, allocations: 142.8 kB / 0.9025 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.01125, allocations: 0 / 0.9025 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.01128, allocations: 23.38 kB / 0.9026 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.01139, allocations: 496.1 kB / 0.903 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.01141, allocations: 7.984 kB / 0.903 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.01142, allocations: 0 / 0.903 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.01146, allocations: 19.69 kB / 0.9031 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01146, allocations: 0 / 0.9031 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.796e-05/0.01156, allocations: 41.66 kB / 0.9031 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01157, allocations: 12.06 kB / 0.9031 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.01159, allocations: 0 / 0.9031 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.0116, allocations: 11.97 kB / 0.9031 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-06/0.01161, allocations: 3.938 kB / 0.9031 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.01161, allocations: 3.938 kB / 0.9031 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.01163, allocations: 0 / 0.9031 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.01163, allocations: 0 / 0.9031 GB, free: 11.81 MB / 0.8698 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 7.623e-05/0.01171, allocations: 283.8 kB / 0.9034 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.01175, allocations: 152.8 kB / 0.9036 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.01179, allocations: 152.7 kB / 0.9037 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/0.01184, allocations: 276 kB / 0.904 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-05/0.01189, allocations: 268.1 kB / 0.9042 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.144e-05/0.01194, allocations: 272 kB / 0.9045 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.01208, allocations: 492.4 kB / 0.9049 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.01211, allocations: 148.8 kB / 0.9051 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.01214, allocations: 148.9 kB / 0.9052 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.908e-05/0.01218, allocations: 268.1 kB / 0.9055 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.01224, allocations: 272.1 kB / 0.9057 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.761e-05/0.01228, allocations: 268.1 kB / 0.906 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.207e-05/0.01234, allocations: 272 kB / 0.9063 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.01244, allocations: 443.9 kB / 0.9067 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.01248, allocations: 168.8 kB / 0.9068 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.01253, allocations: 264.1 kB / 0.9071 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.01258, allocations: 152.8 kB / 0.9072 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.01263, allocations: 264.1 kB / 0.9075 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.01266, allocations: 144.9 kB / 0.9076 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000284/0.01294, allocations: 145.2 kB / 0.9078 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01294, allocations: 0 / 0.9078 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003924/0.01334, allocations: 302.9 kB / 0.9081 GB, free: 6.57 MB / 0.8698 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.0006585/0.01399, allocations: 0.6507 MB / 0.9087 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.714e-05/0.01406, allocations: 41.39 kB / 0.9087 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01406, allocations: 0 / 0.9087 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.01406, allocations: 0 / 0.9087 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01436, allocations: 0.7179 MB / 0.9094 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.01457, allocations: 277.3 kB / 0.9097 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.817e-05/0.0146, allocations: 59.34 kB / 0.9098 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.025e-05/0.01461, allocations: 0 / 0.9098 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.01465, allocations: 74.2 kB / 0.9098 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.01465, allocations: 0 / 0.9098 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of Templates: time 0.007802/0.02246, allocations: 7.364 MB / 0.917 GB, free: 13.38 MB / 0.8855 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.100564943626523]