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.InternalResistancesOneUTube.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.0009659/0.0009659, 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.000995/0.000995, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9047/0.9047, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 1.99/1.99, allocations: 429.5 MB / 0.6732 GB, free: 4.07 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8783 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.763e-05, allocations: 8.781 kB / 0.8783 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001679/0.001697, allocations: 1.498 MB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003096/0.004792, allocations: 2.801 MB / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.004823, allocations: 0 / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.004846, allocations: 5.031 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.004898, allocations: 11.91 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.007238, allocations: 1.636 MB / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.007304, allocations: 43.67 kB / 0.8841 GB, free: 268 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.092e-05/0.007335, allocations: 4 kB / 0.8841 GB, free: 264 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.007369, allocations: 15.98 kB / 0.8841 GB, free: 248 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.007388, allocations: 11.92 kB / 0.8842 GB, free: 236 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.007399, allocations: 7.938 kB / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.00876, allocations: 1.458 MB / 0.8856 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.008771, allocations: 7.938 kB / 0.8856 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.008793, allocations: 12 kB / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.009842, allocations: 1.251 MB / 0.8868 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.009844, allocations: 3.938 kB / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009845, allocations: 0 / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.009849, allocations: 0 / 0.8868 GB, free: 13.48 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.0004206/0.01027, allocations: 0.5489 MB / 0.8874 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01031, allocations: 15.97 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.0105, allocations: 128.1 kB / 0.8875 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.01059, allocations: 247.7 kB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.01064, allocations: 242.8 kB / 0.888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.01069, allocations: 238.8 kB / 0.8882 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.157e-05/0.01074, allocations: 149.4 kB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.01077, allocations: 127.4 kB / 0.8885 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.01082, allocations: 242.5 kB / 0.8887 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.01087, allocations: 238.4 kB / 0.8889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.01092, allocations: 238.4 kB / 0.8892 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.01113, allocations: 0.5837 MB / 0.8897 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.01121, allocations: 269.4 kB / 0.89 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.01124, allocations: 130.9 kB / 0.8901 GB, free: 10 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.01126, allocations: 119.2 kB / 0.8902 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.0113, allocations: 160.6 kB / 0.8904 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.0113, allocations: 0 / 0.8904 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.216e-05/0.01136, allocations: 33.66 kB / 0.8904 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.0114, allocations: 178.5 kB / 0.8906 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.01151, allocations: 181.9 kB / 0.8907 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.01152, allocations: 29.7 kB / 0.8908 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.01156, allocations: 138.9 kB / 0.8909 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/0.01156, allocations: 0 / 0.8909 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.01159, allocations: 23.38 kB / 0.8909 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.01169, allocations: 0.4923 MB / 0.8914 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.0117, allocations: 4 kB / 0.8914 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-06/0.01171, allocations: 0 / 0.8914 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.01174, allocations: 11.69 kB / 0.8914 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01174, allocations: 0 / 0.8914 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.01184, allocations: 49.64 kB / 0.8915 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.01185, allocations: 14.12 kB / 0.8915 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.01187, allocations: 0 / 0.8915 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01188, allocations: 4 kB / 0.8915 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.017e-06/0.01188, allocations: 3.938 kB / 0.8915 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.01189, allocations: 64 / 0.8915 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.0119, allocations: 7.984 kB / 0.8915 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.01191, allocations: 0 / 0.8915 GB, free: 8.484 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 7.73e-05/0.01199, allocations: 283.7 kB / 0.8918 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.01203, allocations: 152.8 kB / 0.8919 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.01207, allocations: 160.6 kB / 0.8921 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/0.01212, allocations: 264.1 kB / 0.8923 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-05/0.01217, allocations: 272 kB / 0.8926 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.063e-05/0.01222, allocations: 268 kB / 0.8928 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.01237, allocations: 0.4999 MB / 0.8933 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/0.0124, allocations: 149 kB / 0.8935 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.01243, allocations: 156.9 kB / 0.8936 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.945e-05/0.01248, allocations: 264.1 kB / 0.8939 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.01253, allocations: 268 kB / 0.8941 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.046e-05/0.01258, allocations: 268.1 kB / 0.8944 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.251e-05/0.01263, allocations: 276 kB / 0.8946 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.01288, allocations: 455.9 kB / 0.8951 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.01291, allocations: 148.8 kB / 0.8952 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.01297, allocations: 272.1 kB / 0.8955 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.01302, allocations: 148.8 kB / 0.8956 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.01307, allocations: 272 kB / 0.8959 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.0131, allocations: 156.8 kB / 0.896 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.01315, allocations: 139.2 kB / 0.8962 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 0 / 0.8962 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004221/0.01357, allocations: 287 kB / 0.8964 GB, free: 3.227 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.0007119/0.01428, allocations: 0.6143 MB / 0.897 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.01436, allocations: 45.39 kB / 0.8971 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01436, allocations: 0 / 0.8971 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-06/0.01437, allocations: 4.062 kB / 0.8971 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.01467, allocations: 0.7216 MB / 0.8978 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.01493, allocations: 273.1 kB / 0.898 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.01496, allocations: 55.34 kB / 0.8981 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.358e-06/0.01497, allocations: 0 / 0.8981 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.01498, allocations: 16.5 kB / 0.8981 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01498, allocations: 0 / 0.8981 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of Templates: time 0.008511/0.02349, allocations: 5.81 MB / 0.9038 GB, free: 11.67 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.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.2176402090117335]