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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.515/2.515, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.0009698/0.00097, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008377/0.0008374, allocations: 92.02 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.521e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9963/1.324, allocations: 171 MB / 1.386 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.324, allocations: 115.8 kB / 1.386 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0463/1.371, allocations: 15.4 MB / 1.401 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.445e-06/1.371, allocations: 0 / 1.401 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.371, allocations: 0 / 1.401 GB, free: 1.723 MB / 0.8542 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.0009817/1.372, allocations: 0.5496 MB / 1.401 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.372, allocations: 8.031 kB / 1.401 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/1.372, allocations: 87.14 kB / 1.402 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/1.372, allocations: 258.1 kB / 1.402 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/1.372, allocations: 154 kB / 1.402 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/1.372, allocations: 150.6 kB / 1.402 GB, free: 464 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.313e-05/1.372, allocations: 109 kB / 1.402 GB, free: 348 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/1.372, allocations: 75.28 kB / 1.402 GB, free: 272 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/1.373, allocations: 150.6 kB / 1.402 GB, free: 120 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/1.373, allocations: 150.6 kB / 1.403 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/1.373, allocations: 158.5 kB / 1.403 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/1.373, allocations: 469.2 kB / 1.403 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/1.373, allocations: 168.5 kB / 1.403 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/1.373, allocations: 80.14 kB / 1.403 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/1.373, allocations: 79.28 kB / 1.403 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.373, allocations: 105.8 kB / 1.404 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/1.373, allocations: 4 kB / 1.404 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.592e-05/1.373, allocations: 37.55 kB / 1.404 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/1.373, allocations: 130.7 kB / 1.404 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/1.374, allocations: 121.1 kB / 1.404 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/1.374, allocations: 25.7 kB / 1.404 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/1.374, allocations: 86.77 kB / 1.404 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.374, allocations: 3.938 kB / 1.404 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.374, allocations: 0 / 1.404 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.374, allocations: 330.2 kB / 1.404 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.529e-05/1.374, allocations: 4 kB / 1.404 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/1.374, allocations: 4 kB / 1.404 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/1.374, allocations: 11.25 kB / 1.404 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.374, allocations: 0 / 1.404 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001166/1.374, allocations: 53.17 kB / 1.404 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.374, allocations: 5.719 kB / 1.404 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.374, allocations: 7.984 kB / 1.404 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.374, allocations: 0 / 1.404 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/1.374, allocations: 0 / 1.404 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.374, allocations: 4.062 kB / 1.404 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/1.374, allocations: 0 / 1.404 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/1.374, allocations: 4 kB / 1.404 GB, free: 14.03 MB / 0.8698 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 8.91e-05/1.374, allocations: 180.2 kB / 1.405 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/1.374, allocations: 112.5 kB / 1.405 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/1.374, allocations: 112.6 kB / 1.405 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.049e-05/1.374, allocations: 180.4 kB / 1.405 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/1.374, allocations: 184.3 kB / 1.405 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-05/1.375, allocations: 183.5 kB / 1.405 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/1.375, allocations: 412.7 kB / 1.406 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/1.375, allocations: 108.9 kB / 1.406 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/1.375, allocations: 108.5 kB / 1.406 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.637e-05/1.375, allocations: 180.3 kB / 1.406 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/1.375, allocations: 180.2 kB / 1.406 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.993e-05/1.375, allocations: 180.3 kB / 1.406 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.245e-05/1.375, allocations: 180.2 kB / 1.407 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/1.375, allocations: 319 kB / 1.407 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/1.375, allocations: 186 kB / 1.407 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/1.376, allocations: 180.2 kB / 1.407 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/1.376, allocations: 109.2 kB / 1.407 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/1.376, allocations: 180.3 kB / 1.407 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/1.376, allocations: 108.9 kB / 1.408 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.066e-05/1.376, allocations: 103 kB / 1.408 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.376, allocations: 0 / 1.408 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001087/1.377, allocations: 325.1 kB / 1.408 GB, free: 10.1 MB / 0.8698 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.001083/1.378, allocations: 0.5473 MB / 1.409 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.249e-05/1.378, allocations: 41.86 kB / 1.409 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.378, allocations: 0 / 1.409 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/1.378, allocations: 3.938 kB / 1.409 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/1.379, allocations: 0.5331 MB / 1.409 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/1.379, allocations: 152.7 kB / 1.409 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/1.379, allocations: 0.6809 MB / 1.41 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.686e-05/1.379, allocations: 3.984 kB / 1.41 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/1.379, allocations: 11.44 kB / 1.41 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/1.379, allocations: 4 kB / 1.41 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of Templates: time 0.01021/1.389, allocations: 5.303 MB / 1.415 GB, free: 2.832 MB / 0.8698 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