Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002458/0.002458, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.821/2.821, allocations: 437 MB / 0.7099 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 0.8686 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7028, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002797/0.7056, allocations: 1.51 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004801/0.7105, allocations: 3.021 MB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.7106, allocations: 8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.7106, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.7107, allocations: 7.922 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.7145, allocations: 1.409 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.7145, allocations: 39.73 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.7146, allocations: 11.92 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.725e-05/0.7146, allocations: 11.94 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.676e-05/0.7147, allocations: 23.81 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.7147, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.7172, allocations: 1.47 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.7173, allocations: 3.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.7173, allocations: 19.88 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.7194, allocations: 1.125 MB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7194, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7195, allocations: 4 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7195, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 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.0008525/0.7203, allocations: 0.5224 MB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.7204, allocations: 12.03 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.7205, allocations: 80.12 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.7206, allocations: 249.4 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.7207, allocations: 150.9 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.7208, allocations: 158.9 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.7209, allocations: 113.1 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.7209, allocations: 75.28 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.721, allocations: 150.6 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.7211, allocations: 150.6 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.7211, allocations: 154.6 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.7215, allocations: 461.9 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.7216, allocations: 177.1 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.7216, allocations: 80.14 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.7217, allocations: 75.28 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.7217, allocations: 113.8 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.7218, allocations: 0 / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.117e-05/0.7218, allocations: 37.55 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.7219, allocations: 126.7 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.7221, allocations: 133.8 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.7221, allocations: 25.7 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.7222, allocations: 96.05 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.7222, allocations: 0 / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.7222, allocations: 17.72 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7224, allocations: 322.8 kB / 1.028 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.7224, allocations: 7.938 kB / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.7224, allocations: 8 kB / 1.028 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.7225, allocations: 8.859 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7225, allocations: 0 / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001486/0.7226, allocations: 61.62 kB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7227, allocations: 5.25 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.7227, allocations: 11.94 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7227, allocations: 4.062 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.7227, allocations: 0 / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7227, allocations: 0 / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.7228, allocations: 11.84 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.7228, allocations: 0 / 1.029 GB, free: 6.273 MB / 0.7794 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 0.0001105/0.7229, allocations: 181.7 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.723, allocations: 112.9 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.723, allocations: 112.8 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.629e-05/0.7231, allocations: 184.3 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.729e-05/0.7232, allocations: 180.3 kB / 1.029 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.766e-05/0.7233, allocations: 184.2 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.7236, allocations: 409.2 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/0.7236, allocations: 108.9 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.7237, allocations: 109 kB / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.477e-05/0.7238, allocations: 180.3 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.7238, allocations: 184.2 kB / 1.03 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.185e-05/0.7239, allocations: 176.3 kB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/0.724, allocations: 180.2 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.7242, allocations: 319.9 kB / 1.031 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.7243, allocations: 189.9 kB / 1.031 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/0.7244, allocations: 180.3 kB / 1.031 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.7245, allocations: 104.9 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.7246, allocations: 180.3 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.7246, allocations: 112.9 kB / 1.032 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.326e-05/0.7247, allocations: 101 kB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7247, allocations: 0 / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008559/0.7256, allocations: 283.8 kB / 1.032 GB, free: 2.359 MB / 0.7794 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.001471/0.727, allocations: 0.5406 MB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.7272, allocations: 37.7 kB / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.7272, allocations: 4 kB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.7272, allocations: 0 / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.7277, allocations: 0.5302 MB / 1.033 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.728, allocations: 245.8 kB / 1.034 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.7284, allocations: 0.6848 MB / 1.034 GB, free: 256 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.7284, allocations: 4 kB / 1.034 GB, free: 252 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.7284, allocations: 11.44 kB / 1.034 GB, free: 240 kB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7284, allocations: 0 / 1.034 GB, free: 240 kB / 0.7794 GB Notification: Performance of Templates: time 0.01163/0.74, allocations: 5.687 MB / 1.04 GB, free: 10.59 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches