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.00143/0.00143, 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.001572/0.001572, 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.9221/0.9221, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.805/1.805, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.312e-06/1.312e-06, allocations: 0 / 0.7602 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.28e-05, allocations: 2.312 kB / 0.7602 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001755/0.001768, allocations: 1.548 MB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003095/0.004863, allocations: 2.78 MB / 0.7644 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.004886, allocations: 0 / 0.7644 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.004901, allocations: 1.031 kB / 0.7644 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.004951, allocations: 23.78 kB / 0.7644 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.006981, allocations: 1.544 MB / 0.7659 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.675e-05/0.007038, allocations: 40.62 kB / 0.7659 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.007068, allocations: 19.95 kB / 0.766 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.007103, allocations: 19.92 kB / 0.766 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.779e-05/0.007121, allocations: 10.75 kB / 0.766 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.007128, allocations: 0 / 0.766 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.008552, allocations: 1.548 MB / 0.7675 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.008561, allocations: 7.938 kB / 0.7675 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.008575, allocations: 8 kB / 0.7675 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009794/0.009555, allocations: 1.262 MB / 0.7688 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.009557, allocations: 6.438 kB / 0.7688 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.009558, allocations: 0 / 0.7688 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.155e-06/0.009561, allocations: 0 / 0.7688 GB, free: 13.73 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.0003165/0.009877, allocations: 438.7 kB / 0.7692 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.489e-05/0.009902, allocations: 12.03 kB / 0.7692 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.009936, allocations: 80.2 kB / 0.7693 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.01002, allocations: 199.8 kB / 0.7695 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.01005, allocations: 150.9 kB / 0.7696 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.01008, allocations: 154.9 kB / 0.7698 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.895e-05/0.01012, allocations: 103.8 kB / 0.7699 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01014, allocations: 75.47 kB / 0.7699 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.01017, allocations: 158.6 kB / 0.7701 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.0102, allocations: 150.6 kB / 0.7702 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.01024, allocations: 154.6 kB / 0.7704 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.0105, allocations: 353.3 kB / 0.7707 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.01056, allocations: 174 kB / 0.7709 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.01058, allocations: 80.14 kB / 0.7709 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.0106, allocations: 83.84 kB / 0.771 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.01062, allocations: 105.8 kB / 0.7711 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.01063, allocations: 0.6875 kB / 0.7711 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 4.43e-05/0.01067, allocations: 29.7 kB / 0.7712 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.01071, allocations: 127.5 kB / 0.7713 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.01078, allocations: 144.1 kB / 0.7714 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.01079, allocations: 26.2 kB / 0.7714 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.01081, allocations: 84.72 kB / 0.7715 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-06/0.01081, allocations: 4 kB / 0.7715 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.01084, allocations: 19.2 kB / 0.7715 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.0109, allocations: 326.9 kB / 0.7719 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.01091, allocations: 0 / 0.7719 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.01092, allocations: 7.938 kB / 0.7719 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.01095, allocations: 9.984 kB / 0.7719 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01095, allocations: 0 / 0.7719 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.713e-05/0.011, allocations: 37.69 kB / 0.7719 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.01101, allocations: 4.906 kB / 0.7719 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.01102, allocations: 0 / 0.7719 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.01103, allocations: 4.594 kB / 0.7719 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-06/0.01103, allocations: 4 kB / 0.7719 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-06/0.01104, allocations: 0.75 kB / 0.7719 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.01105, allocations: 7.891 kB / 0.7719 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.01105, allocations: 1.484 kB / 0.7719 GB, free: 10.34 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.871e-05/0.01111, allocations: 185.1 kB / 0.7721 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01115, allocations: 113 kB / 0.7722 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.01118, allocations: 109.5 kB / 0.7723 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.522e-05/0.01122, allocations: 184.2 kB / 0.7725 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.384e-05/0.01125, allocations: 176.9 kB / 0.7727 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-05/0.01129, allocations: 190.8 kB / 0.7728 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.0114, allocations: 321.4 kB / 0.7732 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.01142, allocations: 105 kB / 0.7733 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.01145, allocations: 108.9 kB / 0.7734 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.525e-05/0.01148, allocations: 176.4 kB / 0.7735 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.01152, allocations: 192.2 kB / 0.7737 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.355e-05/0.01156, allocations: 180.3 kB / 0.7739 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-05/0.01159, allocations: 179 kB / 0.774 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.01169, allocations: 311.7 kB / 0.7743 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.01171, allocations: 108.9 kB / 0.7744 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.01175, allocations: 176.3 kB / 0.7746 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.0118, allocations: 109 kB / 0.7747 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.01184, allocations: 188.2 kB / 0.7749 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.01186, allocations: 101 kB / 0.775 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.123e-05/0.01188, allocations: 26.39 kB / 0.775 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01188, allocations: 2.281 kB / 0.775 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003723/0.01225, allocations: 291 kB / 0.7753 GB, free: 6.711 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.0006496/0.0129, allocations: 0.5481 MB / 0.7758 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.059e-05/0.01296, allocations: 54.41 kB / 0.7759 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01297, allocations: 5.969 kB / 0.7759 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.01297, allocations: 0 / 0.7759 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.01317, allocations: 459.7 kB / 0.7763 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001907/0.01336, allocations: 237.4 kB / 0.7766 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.572e-05/0.01338, allocations: 51.36 kB / 0.7766 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.021e-05/0.01339, allocations: 4.891 kB / 0.7766 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.01343, allocations: 55.38 kB / 0.7767 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of SimCode: time 6.92e-07/0.01343, allocations: 1.031 kB / 0.7767 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.007649/0.02108, allocations: 7.142 MB / 0.7836 GB, free: 14.26 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 -s gbode -gbm=radauIIA3 -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.838676360901445]