Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.574/2.574, allocations: 390.9 MB / 0.666 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004102, allocations: 12 kB / 0.8154 GB, free: 13.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9199, allocations: 142.4 MB / 0.9545 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001518/0.9215, allocations: 1.128 MB / 0.9556 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00389/0.9254, allocations: 2.611 MB / 0.9581 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.9254, allocations: 4 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.9255, allocations: 7.875 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.9256, allocations: 14.69 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.9288, allocations: 1.244 MB / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.426e-05/0.9288, allocations: 35.88 kB / 0.9594 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.9289, allocations: 10.14 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.9289, allocations: 15.48 kB / 0.9594 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.929, allocations: 19.34 kB / 0.9595 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.929, allocations: 1.094 kB / 0.9595 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.931, allocations: 1.208 MB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.931, allocations: 6.281 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.931, allocations: 28.77 kB / 0.9607 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.932, allocations: 0.6918 MB / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.932, allocations: 0 / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.035e-06/0.932, allocations: 0 / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.9321, allocations: 9.25 kB / 0.9614 GB, free: 3.055 MB / 0.7169 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.0005094/0.9326, allocations: 0.4958 MB / 0.9618 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.9326, allocations: 9.938 kB / 0.9618 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.9327, allocations: 85.73 kB / 0.9619 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.9328, allocations: 247.2 kB / 0.9622 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.9328, allocations: 151.7 kB / 0.9623 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.9329, allocations: 155.7 kB / 0.9625 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.525e-05/0.9329, allocations: 101 kB / 0.9626 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.9329, allocations: 80.38 kB / 0.9626 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.933, allocations: 154.6 kB / 0.9628 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.933, allocations: 158.5 kB / 0.9629 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.933, allocations: 155.6 kB / 0.9631 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.9333, allocations: 465.5 kB / 0.9635 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.318e-05/0.9333, allocations: 166.3 kB / 0.9637 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.9333, allocations: 80.14 kB / 0.9638 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.9334, allocations: 76.41 kB / 0.9638 GB, free: 448 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.9334, allocations: 113.8 kB / 0.9639 GB, free: 324 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.9334, allocations: 5.062 kB / 0.9639 GB, free: 320 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.186e-05/0.9335, allocations: 35.91 kB / 0.964 GB, free: 280 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.9335, allocations: 130.7 kB / 0.9641 GB, free: 136 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.9337, allocations: 135.9 kB / 0.9642 GB, free: 12 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.9337, allocations: 26.8 kB / 0.9643 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.9338, allocations: 90.23 kB / 0.9643 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.9338, allocations: 0 / 0.9643 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.9338, allocations: 5.031 kB / 0.9643 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9339, allocations: 315.8 kB / 0.9646 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.934, allocations: 7.438 kB / 0.9647 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.934, allocations: 3.156 kB / 0.9647 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.934, allocations: 7.906 kB / 0.9647 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.934, allocations: 0 / 0.9647 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001495/0.9342, allocations: 51.31 kB / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.9342, allocations: 5.125 kB / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.9342, allocations: 2.5 kB / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.9343, allocations: 4.062 kB / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.9343, allocations: 1.312 kB / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.9343, allocations: 0 / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.9343, allocations: 9.297 kB / 0.9647 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.9343, allocations: 1.125 kB / 0.9647 GB, free: 15.51 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.9345, allocations: 181.9 kB / 0.9649 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.9345, allocations: 111.5 kB / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.9346, allocations: 123.7 kB / 0.9651 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-05/0.9347, allocations: 181.5 kB / 0.9653 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-05/0.9347, allocations: 180.2 kB / 0.9655 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.369e-05/0.9348, allocations: 177.5 kB / 0.9657 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.9351, allocations: 427.9 kB / 0.9661 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-05/0.9351, allocations: 102 kB / 0.9662 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.9352, allocations: 106 kB / 0.9663 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-05/0.9352, allocations: 181.2 kB / 0.9664 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.9353, allocations: 177.4 kB / 0.9666 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.099e-05/0.9354, allocations: 185.4 kB / 0.9668 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-05/0.9355, allocations: 180.3 kB / 0.9669 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.9356, allocations: 308.8 kB / 0.9672 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.9357, allocations: 188 kB / 0.9674 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.9358, allocations: 185.5 kB / 0.9676 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.9359, allocations: 103.1 kB / 0.9677 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.9359, allocations: 181.2 kB / 0.9679 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.936, allocations: 110 kB / 0.968 GB, free: 12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.9361, allocations: 94.39 kB / 0.9681 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9361, allocations: 1 kB / 0.9681 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001048/0.9371, allocations: 283.6 kB / 0.9683 GB, free: 11.83 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.9384, allocations: 0.4937 MB / 0.9688 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.9386, allocations: 36.83 kB / 0.9689 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.9386, allocations: 4.062 kB / 0.9689 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-06/0.9386, allocations: 5.375 kB / 0.9689 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.9392, allocations: 0.53 MB / 0.9694 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.9397, allocations: 249.3 kB / 0.9696 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.9401, allocations: 0.6845 MB / 0.9703 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.9401, allocations: 0.9062 kB / 0.9703 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.9401, allocations: 9.5 kB / 0.9703 GB, free: 10 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9401, allocations: 3.938 kB / 0.9703 GB, free: 10 MB / 0.7325 GB Notification: Performance of Templates: time 0.01289/0.953, allocations: 5.408 MB / 0.9756 GB, free: 7.246 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches