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.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.001265/0.001265, allocations: 80.92 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.0009202/0.0009202, allocations: 161 kB / 24.17 MB, free: 332 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.8976/0.8976, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.823/1.823, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0.7656 kB / 0.7602 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.38e-05, allocations: 5.375 kB / 0.7602 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.005173/0.005187, allocations: 1.548 MB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.00885, allocations: 2.816 MB / 0.7644 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.008887, allocations: 0 / 0.7644 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.008909, allocations: 7.922 kB / 0.7644 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.008966, allocations: 16.61 kB / 0.7645 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.0116, allocations: 1.574 MB / 0.766 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.01167, allocations: 47.61 kB / 0.766 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.746e-05/0.0117, allocations: 7.984 kB / 0.766 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.01173, allocations: 19.97 kB / 0.7661 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.01175, allocations: 19.92 kB / 0.7661 GB, free: 496 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.01176, allocations: 0 / 0.7661 GB, free: 496 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.01335, allocations: 1.58 MB / 0.7676 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.01336, allocations: 7.375 kB / 0.7676 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.01338, allocations: 11.98 kB / 0.7676 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.01449, allocations: 1.29 MB / 0.7689 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01449, allocations: 3.984 kB / 0.7689 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.21e-07/0.01449, allocations: 0 / 0.7689 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.394e-06/0.0145, allocations: 0 / 0.7689 GB, free: 13.59 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.0003598/0.01485, allocations: 446.6 kB / 0.7693 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.01488, allocations: 12.03 kB / 0.7693 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.01492, allocations: 76.22 kB / 0.7694 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.015, allocations: 200.4 kB / 0.7696 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.01504, allocations: 150.9 kB / 0.7698 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.01507, allocations: 154.9 kB / 0.7699 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.867e-05/0.01511, allocations: 105.5 kB / 0.77 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.01512, allocations: 75.47 kB / 0.7701 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.01515, allocations: 154.7 kB / 0.7702 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.01518, allocations: 150.6 kB / 0.7704 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.01521, allocations: 154.6 kB / 0.7705 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.01535, allocations: 361.2 kB / 0.7709 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/0.0154, allocations: 172.1 kB / 0.771 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.01542, allocations: 80.14 kB / 0.7711 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.01544, allocations: 75.28 kB / 0.7712 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.01547, allocations: 109.8 kB / 0.7713 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.01547, allocations: 0 / 0.7713 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 4.521e-05/0.01551, allocations: 33.62 kB / 0.7713 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.01555, allocations: 130.7 kB / 0.7714 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.01563, allocations: 144 kB / 0.7716 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.01563, allocations: 29.67 kB / 0.7716 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.01566, allocations: 92.08 kB / 0.7717 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-06/0.01566, allocations: 0 / 0.7717 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.01568, allocations: 21.75 kB / 0.7717 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.01574, allocations: 314.8 kB / 0.772 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.01576, allocations: 4 kB / 0.772 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.01576, allocations: 0 / 0.772 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.01578, allocations: 12.84 kB / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01579, allocations: 0 / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.931e-05/0.01584, allocations: 49.69 kB / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.01585, allocations: 4 kB / 0.7721 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.01587, allocations: 4.812 kB / 0.7721 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01588, allocations: 3.984 kB / 0.7721 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.01588, allocations: 2.031 kB / 0.7721 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.01588, allocations: 4 kB / 0.7721 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.01589, allocations: 3.938 kB / 0.7721 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.0159, allocations: 3.938 kB / 0.7721 GB, free: 10.17 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.869e-05/0.01595, allocations: 181.1 kB / 0.7723 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.01622, allocations: 105.6 kB / 0.7724 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.01625, allocations: 117.4 kB / 0.7725 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/0.01629, allocations: 176.3 kB / 0.7726 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.54e-05/0.01632, allocations: 187.7 kB / 0.7728 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-05/0.01636, allocations: 188.2 kB / 0.773 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.01647, allocations: 317.4 kB / 0.7733 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/0.01649, allocations: 108.9 kB / 0.7734 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.01651, allocations: 101.1 kB / 0.7735 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.535e-05/0.01654, allocations: 184.2 kB / 0.7737 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.01658, allocations: 188.2 kB / 0.7739 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.243e-05/0.01661, allocations: 176.3 kB / 0.774 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.421e-05/0.01664, allocations: 180.2 kB / 0.7742 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.816e-05/0.01672, allocations: 318.4 kB / 0.7745 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.01675, allocations: 108.9 kB / 0.7746 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.01679, allocations: 180.3 kB / 0.7748 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.01683, allocations: 104.9 kB / 0.7749 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.01688, allocations: 184.2 kB / 0.7751 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.0169, allocations: 104.9 kB / 0.7752 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.01692, allocations: 30.86 kB / 0.7752 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01692, allocations: 0 / 0.7752 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003983/0.01732, allocations: 296.4 kB / 0.7755 GB, free: 6.539 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.0006689/0.01799, allocations: 0.5773 MB / 0.776 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.9e-05/0.01805, allocations: 39.69 kB / 0.7761 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01805, allocations: 4 kB / 0.7761 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.01805, allocations: 4 kB / 0.7761 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.01826, allocations: 476.8 kB / 0.7765 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.01845, allocations: 233.3 kB / 0.7768 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.749e-05/0.01847, allocations: 55.34 kB / 0.7768 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.078e-05/0.01849, allocations: 4.625 kB / 0.7768 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.01852, allocations: 51.38 kB / 0.7769 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.01852, allocations: 1.062 kB / 0.7769 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of Templates: time 0.007679/0.0262, allocations: 7.319 MB / 0.784 GB, free: 13.89 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.937280134297907]