Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009522/0.0009522, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009668/0.0009668, allocations: 161 kB / 23.82 MB, free: 0.75 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.8708/0.8708, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.859e-05, allocations: 8.984 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002779/0.002807, allocations: 1.486 MB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.005836, allocations: 2.787 MB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.005877, allocations: 0 / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.005902, allocations: 4.531 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.00596, allocations: 25.31 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.008772, allocations: 1.634 MB / 0.793 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.008909, allocations: 41.83 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.008944, allocations: 7.984 kB / 0.7931 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.008981, allocations: 19.92 kB / 0.7931 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.419e-05/0.009005, allocations: 11.98 kB / 0.7931 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.009016, allocations: 0 / 0.7931 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.0106, allocations: 1.455 MB / 0.7945 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.01062, allocations: 14.55 kB / 0.7945 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.01064, allocations: 7.938 kB / 0.7945 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.01211, allocations: 1.251 MB / 0.7957 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01211, allocations: 0 / 0.7957 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01211, allocations: 0 / 0.7957 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.01212, allocations: 0 / 0.7957 GB, free: 3.645 MB / 0.7448 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.0005158/0.01263, allocations: 0.557 MB / 0.7963 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.01267, allocations: 9.156 kB / 0.7963 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.01273, allocations: 124.1 kB / 0.7964 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.01287, allocations: 243.7 kB / 0.7966 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.01293, allocations: 243.9 kB / 0.7969 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.01299, allocations: 238.8 kB / 0.7971 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.859e-05/0.01305, allocations: 145.5 kB / 0.7972 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.01308, allocations: 120.5 kB / 0.7974 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.01313, allocations: 246.5 kB / 0.7976 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/0.01318, allocations: 242.3 kB / 0.7978 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.01323, allocations: 240.1 kB / 0.7981 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.01371, allocations: 0.5798 MB / 0.7986 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.0138, allocations: 265.4 kB / 0.7989 GB, free: 324 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.01383, allocations: 126.9 kB / 0.799 GB, free: 192 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01385, allocations: 123.9 kB / 0.7991 GB, free: 68 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.0139, allocations: 164.5 kB / 0.7993 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.0139, allocations: 0.5938 kB / 0.7993 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 6.891e-05/0.01397, allocations: 25.7 kB / 0.7993 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.01403, allocations: 175.6 kB / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.01415, allocations: 195.8 kB / 0.7997 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.01416, allocations: 25.7 kB / 0.7997 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.0142, allocations: 147.5 kB / 0.7998 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.0142, allocations: 0.9062 kB / 0.7998 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.01423, allocations: 19.38 kB / 0.7998 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.01433, allocations: 0.4884 MB / 0.8003 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.01434, allocations: 7.734 kB / 0.8003 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.01436, allocations: 7.938 kB / 0.8003 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.01439, allocations: 15.73 kB / 0.8003 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.01439, allocations: 0 / 0.8003 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.01449, allocations: 41.66 kB / 0.8004 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.01451, allocations: 11.98 kB / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.01452, allocations: 0 / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01453, allocations: 0 / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-06/0.01454, allocations: 7.938 kB / 0.8004 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01454, allocations: 4 kB / 0.8004 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.01456, allocations: 5.141 kB / 0.8004 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.01457, allocations: 3.984 kB / 0.8004 GB, free: 14.66 MB / 0.7605 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.772e-05/0.01465, allocations: 280.8 kB / 0.8007 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.01469, allocations: 156.8 kB / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.01473, allocations: 156.7 kB / 0.801 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/0.01478, allocations: 272.1 kB / 0.8012 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-05/0.01483, allocations: 272 kB / 0.8015 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/0.01489, allocations: 264.1 kB / 0.8018 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01505, allocations: 0.5 MB / 0.8022 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.01508, allocations: 152.9 kB / 0.8024 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.01511, allocations: 148.8 kB / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.101e-05/0.01516, allocations: 268.1 kB / 0.8028 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.01521, allocations: 264.1 kB / 0.803 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.183e-05/0.01526, allocations: 268 kB / 0.8033 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.081e-05/0.01531, allocations: 272.1 kB / 0.8036 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.01542, allocations: 451.9 kB / 0.804 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.01546, allocations: 156.8 kB / 0.8041 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.01552, allocations: 264.1 kB / 0.8044 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.01557, allocations: 156.9 kB / 0.8045 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.01563, allocations: 272 kB / 0.8048 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.01566, allocations: 144.9 kB / 0.8049 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.01571, allocations: 141.5 kB / 0.8051 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01571, allocations: 3.938 kB / 0.8051 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005457/0.01626, allocations: 291 kB / 0.8053 GB, free: 9.406 MB / 0.7605 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.001024/0.01728, allocations: 0.6157 MB / 0.8059 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.01737, allocations: 49.33 kB / 0.806 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01737, allocations: 0 / 0.806 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.01737, allocations: 3.938 kB / 0.806 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01767, allocations: 0.714 MB / 0.8067 GB, free: 8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.01795, allocations: 277.2 kB / 0.807 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.01798, allocations: 59.34 kB / 0.807 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.01799, allocations: 0 / 0.807 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.01801, allocations: 12.5 kB / 0.807 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of SimCode: time 7.51e-07/0.01801, allocations: 0 / 0.807 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of Templates: time 0.009405/0.02741, allocations: 7.85 MB / 0.8147 GB, free: 15.8 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.6981600993312895]