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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 184.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 93.27 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.288e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.302, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.311, allocations: 170.2 MB / 1.379 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.311, allocations: 115.2 kB / 1.379 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04302/1.354, allocations: 15.38 MB / 1.394 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.495e-06/1.354, allocations: 0 / 1.394 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.354, allocations: 0 / 1.394 GB, free: 27.36 MB / 0.8386 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.0009873/1.355, allocations: 0.5541 MB / 1.394 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.355, allocations: 11.5 kB / 1.394 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/1.355, allocations: 83.17 kB / 1.394 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.355, allocations: 254.9 kB / 1.395 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/1.355, allocations: 154.6 kB / 1.395 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/1.356, allocations: 150.6 kB / 1.395 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.374e-05/1.356, allocations: 101 kB / 1.395 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.356, allocations: 75.28 kB / 1.395 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/1.356, allocations: 154.5 kB / 1.395 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/1.356, allocations: 154.4 kB / 1.395 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/1.356, allocations: 161.6 kB / 1.396 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/1.356, allocations: 465.4 kB / 1.396 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/1.356, allocations: 169.1 kB / 1.396 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/1.356, allocations: 80.14 kB / 1.396 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/1.356, allocations: 79.28 kB / 1.396 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.356, allocations: 113.6 kB / 1.396 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/1.356, allocations: 0 / 1.396 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.609e-05/1.356, allocations: 33.42 kB / 1.396 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/1.356, allocations: 130.6 kB / 1.397 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.357, allocations: 121.3 kB / 1.397 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/1.357, allocations: 29.7 kB / 1.397 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/1.357, allocations: 90.88 kB / 1.397 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/1.357, allocations: 0 / 1.397 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/1.357, allocations: 3.844 kB / 1.397 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/1.357, allocations: 318.5 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/1.357, allocations: 3.844 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/1.357, allocations: 3.844 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/1.357, allocations: 11.2 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.357, allocations: 0 / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000117/1.357, allocations: 56.11 kB / 1.397 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.357, allocations: 4.938 kB / 1.397 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/1.357, allocations: 3.844 kB / 1.397 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.357, allocations: 0 / 1.397 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/1.357, allocations: 4.062 kB / 1.397 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.357, allocations: 0.625 kB / 1.397 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/1.357, allocations: 7.75 kB / 1.397 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/1.357, allocations: 3.984 kB / 1.397 GB, free: 23.82 MB / 0.8386 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 () * 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 7.697e-05/1.357, allocations: 183.2 kB / 1.397 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/1.357, allocations: 112.8 kB / 1.397 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/1.357, allocations: 108.6 kB / 1.398 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/1.357, allocations: 184.2 kB / 1.398 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.195e-05/1.357, allocations: 187.5 kB / 1.398 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.185e-05/1.357, allocations: 176.3 kB / 1.398 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/1.358, allocations: 423.8 kB / 1.399 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/1.358, allocations: 101 kB / 1.399 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/1.358, allocations: 101 kB / 1.399 GB, free: 22.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.646e-05/1.358, allocations: 188 kB / 1.399 GB, free: 22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/1.358, allocations: 176.3 kB / 1.399 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.982e-05/1.358, allocations: 180.2 kB / 1.399 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-05/1.358, allocations: 187.7 kB / 1.399 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/1.358, allocations: 311.5 kB / 1.4 GB, free: 21.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/1.358, allocations: 185.9 kB / 1.4 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/1.358, allocations: 184 kB / 1.4 GB, free: 20.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/1.358, allocations: 105.9 kB / 1.4 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/1.358, allocations: 180.2 kB / 1.4 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/1.358, allocations: 108.8 kB / 1.4 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.856e-05/1.359, allocations: 99.84 kB / 1.401 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.359, allocations: 0 / 1.401 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001052/1.36, allocations: 329 kB / 1.401 GB, free: 20.16 MB / 0.8386 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 () * 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.001522/1.361, allocations: 0.5501 MB / 1.401 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.187e-05/1.361, allocations: 40.86 kB / 1.401 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.361, allocations: 3.875 kB / 1.401 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/1.361, allocations: 0 / 1.401 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/1.362, allocations: 0.5288 MB / 1.402 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/1.362, allocations: 145.5 kB / 1.402 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.362, allocations: 0.6961 MB / 1.403 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.961e-05/1.362, allocations: 0 / 1.403 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/1.362, allocations: 7.438 kB / 1.403 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.362, allocations: 3.969 kB / 1.403 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.009586/1.372, allocations: 5.297 MB / 1.408 GB, free: 14.21 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches