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.InternalResistancesTwoUTube.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.001383/0.001383, 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.001657/0.001657, 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.9311/0.9311, 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.841/1.841, 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.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.7602 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.352e-05, allocations: 5.891 kB / 0.7602 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00175/0.001764, allocations: 1.548 MB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.004743, allocations: 2.81 MB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.00478, allocations: 0.75 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.004798, allocations: 3.938 kB / 0.7644 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.004852, allocations: 21.72 kB / 0.7644 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.007167, allocations: 1.58 MB / 0.766 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.792e-05/0.007235, allocations: 43.67 kB / 0.766 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.007264, allocations: 7.984 kB / 0.766 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.007304, allocations: 27.91 kB / 0.7661 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.074e-05/0.007325, allocations: 8 kB / 0.7661 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.657e-06/0.007333, allocations: 0.625 kB / 0.7661 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.00893, allocations: 1.584 MB / 0.7676 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.008941, allocations: 3.938 kB / 0.7676 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.008959, allocations: 9.406 kB / 0.7676 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.01007, allocations: 1.297 MB / 0.7689 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01007, allocations: 0 / 0.7689 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.22e-07/0.01007, allocations: 0 / 0.7689 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.01008, allocations: 1.281 kB / 0.7689 GB, free: 13.6 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.0003656/0.01044, allocations: 450.6 kB / 0.7693 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.01047, allocations: 8.031 kB / 0.7693 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.0105, allocations: 80.88 kB / 0.7694 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.71e-05/0.01059, allocations: 194.7 kB / 0.7696 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.01063, allocations: 151.6 kB / 0.7697 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.01066, allocations: 154.9 kB / 0.7699 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.969e-05/0.0107, allocations: 102.3 kB / 0.77 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.01072, allocations: 84.09 kB / 0.7701 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.01075, allocations: 154.7 kB / 0.7702 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.01078, allocations: 155.1 kB / 0.7704 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.01081, allocations: 150.6 kB / 0.7705 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.01097, allocations: 357.8 kB / 0.7709 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.01103, allocations: 170.6 kB / 0.771 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.01105, allocations: 84.08 kB / 0.7711 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.01107, allocations: 79.28 kB / 0.7712 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.0111, allocations: 109.8 kB / 0.7713 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.0111, allocations: 0.9688 kB / 0.7713 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 4.53e-05/0.01114, allocations: 25.7 kB / 0.7713 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.01118, allocations: 131.3 kB / 0.7714 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.01126, allocations: 144.3 kB / 0.7716 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.01127, allocations: 26.3 kB / 0.7716 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.0113, allocations: 88.08 kB / 0.7717 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.0113, allocations: 4.594 kB / 0.7717 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.01132, allocations: 22.33 kB / 0.7717 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.01138, allocations: 322.8 kB / 0.772 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.0114, allocations: 5.375 kB / 0.772 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.0114, allocations: 4 kB / 0.772 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.01143, allocations: 8.859 kB / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01143, allocations: 1.625 kB / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.106e-05/0.01149, allocations: 41.69 kB / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.0115, allocations: 4 kB / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.01151, allocations: 0 / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.01152, allocations: 0 / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.01152, allocations: 2.438 kB / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.01152, allocations: 0 / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.01154, allocations: 11.88 kB / 0.7721 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.01154, allocations: 0 / 0.7721 GB, free: 10.19 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.792e-05/0.0116, allocations: 185.1 kB / 0.7723 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.449e-05/0.01163, allocations: 105 kB / 0.7724 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.01167, allocations: 118.9 kB / 0.7725 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/0.0117, allocations: 180.2 kB / 0.7726 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.463e-05/0.01174, allocations: 180.2 kB / 0.7728 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/0.01178, allocations: 196.1 kB / 0.773 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.01189, allocations: 317.4 kB / 0.7733 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.01191, allocations: 106 kB / 0.7734 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.01194, allocations: 105.1 kB / 0.7735 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.711e-05/0.01197, allocations: 180.3 kB / 0.7737 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/0.01201, allocations: 193.8 kB / 0.7739 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.484e-05/0.01205, allocations: 176.3 kB / 0.774 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.785e-05/0.01209, allocations: 184.2 kB / 0.7742 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.25e-05/0.01217, allocations: 303.8 kB / 0.7745 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.0122, allocations: 119.6 kB / 0.7746 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.01225, allocations: 180.3 kB / 0.7748 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.01229, allocations: 108.9 kB / 0.7749 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.01233, allocations: 180.3 kB / 0.7751 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.01235, allocations: 101 kB / 0.7752 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.171e-05/0.01237, allocations: 26.55 kB / 0.7752 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01237, allocations: 0 / 0.7752 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003651/0.01274, allocations: 298.9 kB / 0.7755 GB, free: 6.547 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.0006614/0.0134, allocations: 0.5796 MB / 0.776 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.002e-05/0.01346, allocations: 43.11 kB / 0.7761 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01346, allocations: 0 / 0.7761 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.01346, allocations: 1.188 kB / 0.7761 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.01367, allocations: 471.6 kB / 0.7765 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.01386, allocations: 233.5 kB / 0.7767 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.578e-05/0.01389, allocations: 59.34 kB / 0.7768 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.255e-06/0.0139, allocations: 1.781 kB / 0.7768 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.01393, allocations: 55.38 kB / 0.7769 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.01393, allocations: 0 / 0.7769 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of Templates: time 0.007662/0.0216, allocations: 7.315 MB / 0.784 GB, free: 13.9 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.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.0172168291173875]