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.00215/0.00215, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003147/0.003146, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.5/1.5, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.769/2.769, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6676/0.6695, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003203/0.6727, allocations: 1.44 MB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004797/0.6775, allocations: 2.899 MB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.6776, allocations: 3.938 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.6777, allocations: 7.922 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.6778, allocations: 15.86 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.6821, allocations: 1.587 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.6822, allocations: 43.73 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.6822, allocations: 11.98 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.6823, allocations: 15.92 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.251e-05/0.6823, allocations: 23.86 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.6823, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.6846, allocations: 1.447 MB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.6847, allocations: 11.98 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.6847, allocations: 15.88 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.6865, allocations: 1.123 MB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6865, allocations: 0 / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6865, allocations: 0 / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.6866, allocations: 4 kB / 1.026 GB, free: 9.832 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.0007706/0.6873, allocations: 0.5147 MB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6874, allocations: 8.031 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.6875, allocations: 84.12 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.6876, allocations: 251.5 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.6877, allocations: 154.9 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.6878, allocations: 154.9 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.6879, allocations: 109 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.6879, allocations: 75.28 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.688, allocations: 150.6 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/0.6881, allocations: 158.6 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.6881, allocations: 150.6 kB / 1.028 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.6885, allocations: 465.9 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.6886, allocations: 173.1 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.6886, allocations: 84.14 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.6887, allocations: 75.28 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/0.6887, allocations: 117.7 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6888, allocations: 0 / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.583e-05/0.6888, allocations: 33.61 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.6889, allocations: 130.6 kB / 1.029 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.6891, allocations: 136.2 kB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.6891, allocations: 25.7 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.6892, allocations: 88.12 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.6892, allocations: 4 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.6892, allocations: 21.72 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6894, allocations: 318.8 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.6894, allocations: 4 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.6894, allocations: 4 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.6895, allocations: 12.86 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.6895, allocations: 0 / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001312/0.6896, allocations: 61.47 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6896, allocations: 4 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.6896, allocations: 8.062 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6897, allocations: 0 / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-06/0.6897, allocations: 4 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.6897, allocations: 3.938 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.6897, allocations: 7.844 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.6897, allocations: 0 / 1.029 GB, free: 6.07 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.0001076/0.6898, allocations: 189.1 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.6899, allocations: 104.9 kB / 1.03 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.69, allocations: 120.8 kB / 1.03 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-05/0.69, allocations: 180.3 kB / 1.03 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-05/0.6901, allocations: 180.3 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.686e-05/0.6902, allocations: 188.2 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.6905, allocations: 409.2 kB / 1.031 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/0.6905, allocations: 116.9 kB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.6906, allocations: 101 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.395e-05/0.6907, allocations: 180.3 kB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.6907, allocations: 184.2 kB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.395e-05/0.6908, allocations: 184.2 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-05/0.6909, allocations: 180.2 kB / 1.031 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.6911, allocations: 307.7 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/0.6912, allocations: 197.9 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.6913, allocations: 180.2 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.6914, allocations: 104.9 kB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.6915, allocations: 180.3 kB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.6915, allocations: 105 kB / 1.032 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.41e-05/0.6916, allocations: 108.1 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6916, allocations: 3.938 kB / 1.033 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008065/0.6924, allocations: 279.8 kB / 1.033 GB, free: 2.145 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.001289/0.6937, allocations: 0.5342 MB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.6938, allocations: 41.7 kB / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6939, allocations: 0 / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.6939, allocations: 0 / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.6943, allocations: 473.6 kB / 1.034 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.6947, allocations: 233.7 kB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.695, allocations: 0.6807 MB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.6951, allocations: 7.984 kB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.6951, allocations: 11.44 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6951, allocations: 0 / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of Templates: time 0.01127/0.7064, allocations: 5.649 MB / 1.04 GB, free: 10.5 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