Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001249/0.001249, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001456/0.001456, allocations: 177.3 kB / 15.94 MB, free: 228 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.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004087, allocations: 12 kB / 0.8708 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9264, allocations: 153.6 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001735/0.9282, allocations: 1.127 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004212/0.9324, allocations: 2.591 MB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.9325, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.9325, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.9326, allocations: 19.95 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.9361, allocations: 1.254 MB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.9362, allocations: 27.95 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.9363, allocations: 11.89 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.9363, allocations: 19.92 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.9364, allocations: 11.92 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.9364, allocations: 8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.9383, allocations: 1.197 MB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.9384, allocations: 7.938 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.9384, allocations: 29.7 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.9395, allocations: 0.7194 MB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.9395, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9395, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9395, allocations: 0 / 1.028 GB, free: 10.07 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.0007446/0.9402, allocations: 0.5107 MB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.9403, allocations: 8.031 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.9404, allocations: 79.19 kB / 1.028 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.9406, allocations: 254.2 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-05/0.9407, allocations: 158.5 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.9408, allocations: 150.6 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.9409, allocations: 101 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.941, allocations: 79.28 kB / 1.029 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.9411, allocations: 150.6 kB / 1.029 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.354e-05/0.9411, allocations: 154.6 kB / 1.029 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.9413, allocations: 154.6 kB / 1.029 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.9419, allocations: 469.9 kB / 1.03 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.942, allocations: 169.1 kB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.942, allocations: 79.27 kB / 1.03 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.87e-05/0.9421, allocations: 109.8 kB / 1.03 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.9421, allocations: 0 / 1.03 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.729e-05/0.9422, allocations: 41.53 kB / 1.03 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.9423, allocations: 130.7 kB / 1.03 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.9424, allocations: 130 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.9424, allocations: 25.7 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.9425, allocations: 92.14 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.9425, allocations: 0 / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.9425, allocations: 0 / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.9427, allocations: 318.8 kB / 1.031 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.9428, allocations: 4 kB / 1.031 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.9428, allocations: 8 kB / 1.031 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.9428, allocations: 11.94 kB / 1.031 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9428, allocations: 4 kB / 1.031 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001338/0.943, allocations: 53.55 kB / 1.031 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.943, allocations: 5.094 kB / 1.031 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.943, allocations: 4 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.943, allocations: 3.938 kB / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.943, allocations: 0 / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.9431, allocations: 0 / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.9431, allocations: 4 kB / 1.031 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.9431, allocations: 4.062 kB / 1.031 GB, free: 6.445 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.9432, allocations: 193 kB / 1.031 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.9433, allocations: 112.9 kB / 1.031 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.9434, allocations: 120.8 kB / 1.031 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-05/0.9435, allocations: 176.3 kB / 1.032 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.976e-05/0.9435, allocations: 176.3 kB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.573e-05/0.9436, allocations: 188.2 kB / 1.032 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.9439, allocations: 413.2 kB / 1.032 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.572e-05/0.944, allocations: 104.9 kB / 1.032 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.944, allocations: 105 kB / 1.033 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.606e-05/0.9441, allocations: 176.3 kB / 1.033 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.9442, allocations: 188.2 kB / 1.033 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-05/0.9443, allocations: 180.2 kB / 1.033 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.302e-05/0.9444, allocations: 188.2 kB / 1.033 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.9446, allocations: 299.7 kB / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.9448, allocations: 194.2 kB / 1.034 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.9449, allocations: 184.3 kB / 1.034 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.945, allocations: 108.9 kB / 1.034 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.9451, allocations: 184.3 kB / 1.034 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.9451, allocations: 109 kB / 1.034 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001495/0.9453, allocations: 100.8 kB / 1.034 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.244e-06/0.9453, allocations: 0 / 1.034 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000875/0.9462, allocations: 283.8 kB / 1.035 GB, free: 2.52 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 (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.001093/0.9473, allocations: 0.4928 MB / 1.035 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.9474, allocations: 45.69 kB / 1.035 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9474, allocations: 0 / 1.035 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.9474, allocations: 0 / 1.035 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.948, allocations: 0.5264 MB / 1.036 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.9484, allocations: 261.8 kB / 1.036 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.9488, allocations: 0.6888 MB / 1.037 GB, free: 452 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.9488, allocations: 3.938 kB / 1.037 GB, free: 448 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.9488, allocations: 7.438 kB / 1.037 GB, free: 440 kB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9489, allocations: 4 kB / 1.037 GB, free: 436 kB / 0.7794 GB Notification: Performance of Templates: time 0.01011/0.959, allocations: 5.595 MB / 1.042 GB, free: 10.88 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches