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.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.001274/0.001274, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009337/0.0009337, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.8553/0.8553, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.172e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001527/0.001539, allocations: 1.494 MB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002749/0.004288, allocations: 2.787 MB / 0.7643 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.004312, allocations: 0 / 0.7643 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.004327, allocations: 0 / 0.7643 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.004375, allocations: 20.41 kB / 0.7643 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.006679, allocations: 1.641 MB / 0.7659 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.666e-05/0.006736, allocations: 50.11 kB / 0.766 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.847e-05/0.006764, allocations: 3.984 kB / 0.766 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.006795, allocations: 19.92 kB / 0.766 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.006812, allocations: 11.98 kB / 0.766 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.405e-06/0.00682, allocations: 0 / 0.766 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.00809, allocations: 1.461 MB / 0.7674 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.0081, allocations: 3.938 kB / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.008116, allocations: 12 kB / 0.7674 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009734/0.009089, allocations: 1.266 MB / 0.7687 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.009091, allocations: 0 / 0.7687 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.71e-07/0.009091, allocations: 0 / 0.7687 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.009094, allocations: 0 / 0.7687 GB, free: 13.83 MB / 0.7292 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.0003291/0.009423, allocations: 442.7 kB / 0.7691 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.009451, allocations: 12.67 kB / 0.7691 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.009482, allocations: 80.22 kB / 0.7692 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.715e-05/0.009559, allocations: 187.9 kB / 0.7694 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.00959, allocations: 154.9 kB / 0.7695 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.009625, allocations: 154.9 kB / 0.7697 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.637e-05/0.009661, allocations: 107.2 kB / 0.7698 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.009677, allocations: 79.47 kB / 0.7698 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.009708, allocations: 158.7 kB / 0.77 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.009736, allocations: 154.5 kB / 0.7701 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.009764, allocations: 153 kB / 0.7703 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.009893, allocations: 357.3 kB / 0.7706 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.009943, allocations: 169.1 kB / 0.7708 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.009962, allocations: 84.12 kB / 0.7709 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.009976, allocations: 75.28 kB / 0.7709 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.01, allocations: 109.8 kB / 0.771 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 5.21e-07/0.01001, allocations: 0 / 0.771 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 3.958e-05/0.01004, allocations: 35.77 kB / 0.7711 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.01008, allocations: 126.7 kB / 0.7712 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.01016, allocations: 140.6 kB / 0.7713 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.01016, allocations: 25.7 kB / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.01019, allocations: 92.11 kB / 0.7714 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.01019, allocations: 1.406 kB / 0.7714 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.01021, allocations: 17.7 kB / 0.7715 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.0104, allocations: 322.8 kB / 0.7718 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.01041, allocations: 4 kB / 0.7718 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.01042, allocations: 1.281 kB / 0.7718 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.01044, allocations: 16.78 kB / 0.7718 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01044, allocations: 0 / 0.7718 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.544e-05/0.0105, allocations: 38.38 kB / 0.7718 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.01051, allocations: 8 kB / 0.7718 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.01052, allocations: 0.5938 kB / 0.7718 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.01052, allocations: 0.7188 kB / 0.7718 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.01053, allocations: 0 / 0.7718 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.01053, allocations: 0.6875 kB / 0.7718 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.01054, allocations: 11.89 kB / 0.7718 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.01055, allocations: 0.5312 kB / 0.7718 GB, free: 10.43 MB / 0.7292 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 5.175e-05/0.0106, allocations: 185.8 kB / 0.772 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.01063, allocations: 112.9 kB / 0.7721 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.01066, allocations: 106.3 kB / 0.7722 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.01069, allocations: 180.2 kB / 0.7724 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.623e-05/0.01073, allocations: 180.3 kB / 0.7726 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.01076, allocations: 184.2 kB / 0.7728 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.01087, allocations: 330.3 kB / 0.7731 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.01089, allocations: 101 kB / 0.7732 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.01091, allocations: 109.5 kB / 0.7733 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.319e-05/0.01094, allocations: 180.4 kB / 0.7734 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.01097, allocations: 180.9 kB / 0.7736 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.264e-05/0.01101, allocations: 180.9 kB / 0.7738 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-05/0.01104, allocations: 180.3 kB / 0.774 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.474e-05/0.01111, allocations: 312.2 kB / 0.7743 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.01114, allocations: 108.9 kB / 0.7744 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.01118, allocations: 185.7 kB / 0.7745 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.01122, allocations: 109 kB / 0.7746 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.01125, allocations: 180.2 kB / 0.7748 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.01127, allocations: 102 kB / 0.7749 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.01129, allocations: 30.55 kB / 0.7749 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01129, allocations: 0 / 0.7749 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003579/0.01165, allocations: 296.6 kB / 0.7752 GB, free: 6.801 MB / 0.7292 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.0005992/0.01225, allocations: 0.5564 MB / 0.7758 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.386e-05/0.0123, allocations: 42.44 kB / 0.7758 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0123, allocations: 0 / 0.7758 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.01231, allocations: 0 / 0.7758 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.01249, allocations: 472.3 kB / 0.7763 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.01267, allocations: 233.7 kB / 0.7765 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.399e-05/0.0127, allocations: 63.28 kB / 0.7765 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.284e-06/0.0127, allocations: 1.156 kB / 0.7765 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.01274, allocations: 55.38 kB / 0.7766 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.01274, allocations: 0.5938 kB / 0.7766 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of Templates: time 0.007109/0.01985, allocations: 7.131 MB / 0.7836 GB, free: 14.36 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.769791186321527]