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.297/2.297, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001313/0.001313, allocations: 191.5 kB / 0.4902 GB, free: 2.246 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.831/1.831, allocations: 223.1 MB / 0.7992 GB, free: 15.6 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.0009894/0.0009897, allocations: 106.4 kB / 0.9396 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 14.41 kB / 1.09 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3096, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/0.5334, allocations: 171 MB / 1.396 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.5338, allocations: 115.9 kB / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7028/1.237, allocations: 15.47 MB / 1.411 GB, free: 169.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.545e-06/1.237, allocations: 0 / 1.411 GB, free: 169.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.237, allocations: 0.75 kB / 1.411 GB, free: 169.6 MB / 0.9011 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.001308/1.238, allocations: 0.5669 MB / 1.412 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/1.238, allocations: 12.28 kB / 1.412 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/1.238, allocations: 82.27 kB / 1.412 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/1.238, allocations: 249.4 kB / 1.412 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/1.238, allocations: 150.6 kB / 1.413 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/1.238, allocations: 151.9 kB / 1.413 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.727e-05/1.239, allocations: 109.3 kB / 1.413 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.239, allocations: 76.62 kB / 1.413 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/1.239, allocations: 154.5 kB / 1.413 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/1.239, allocations: 153.1 kB / 1.413 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/1.239, allocations: 162.2 kB / 1.413 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/1.239, allocations: 464.3 kB / 1.414 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/1.239, allocations: 167.5 kB / 1.414 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/1.239, allocations: 76.59 kB / 1.414 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/1.239, allocations: 110.8 kB / 1.414 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/1.239, allocations: 1.375 kB / 1.414 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 9.53e-05/1.239, allocations: 33.33 kB / 1.414 GB, free: 167 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/1.239, allocations: 135.5 kB / 1.414 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/1.24, allocations: 121.3 kB / 1.414 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/1.24, allocations: 26.22 kB / 1.414 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/1.24, allocations: 89.7 kB / 1.414 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/1.24, allocations: 0 / 1.414 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.24, allocations: 0 / 1.414 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001/1.24, allocations: 326.8 kB / 1.415 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/1.24, allocations: 8 kB / 1.415 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/1.24, allocations: 3.422 kB / 1.415 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/1.24, allocations: 5.531 kB / 1.415 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.24, allocations: 0 / 1.415 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001515/1.24, allocations: 56.81 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.24, allocations: 5.906 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/1.24, allocations: 5.359 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.24, allocations: 0 / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-06/1.24, allocations: 0.875 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.24, allocations: 4.906 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/1.24, allocations: 9.219 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/1.24, allocations: 1.312 kB / 1.415 GB, free: 166.3 MB / 0.9011 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.0001006/1.24, allocations: 189.1 kB / 1.415 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/1.24, allocations: 108.9 kB / 1.415 GB, free: 166 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/1.24, allocations: 113.7 kB / 1.415 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/1.24, allocations: 184.6 kB / 1.415 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.776e-05/1.241, allocations: 186.2 kB / 1.416 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-05/1.241, allocations: 177.6 kB / 1.416 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/1.241, allocations: 419 kB / 1.416 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/1.241, allocations: 106.7 kB / 1.416 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/1.241, allocations: 102.8 kB / 1.416 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-05/1.241, allocations: 186.1 kB / 1.417 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/1.241, allocations: 178.4 kB / 1.417 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.487e-05/1.241, allocations: 177 kB / 1.417 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.405e-05/1.241, allocations: 182.1 kB / 1.417 GB, free: 164 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/1.241, allocations: 318.6 kB / 1.417 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/1.241, allocations: 186.1 kB / 1.418 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/1.241, allocations: 178.1 kB / 1.418 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/1.241, allocations: 113.4 kB / 1.418 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/1.241, allocations: 184.2 kB / 1.418 GB, free: 163 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/1.242, allocations: 106.3 kB / 1.418 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.857e-05/1.242, allocations: 102.6 kB / 1.418 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/1.242, allocations: 0 / 1.418 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001434/1.243, allocations: 324.5 kB / 1.419 GB, free: 162.7 MB / 0.9011 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.001451/1.245, allocations: 0.5383 MB / 1.419 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001305/1.245, allocations: 39.47 kB / 1.419 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.245, allocations: 1.094 kB / 1.419 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.245, allocations: 0 / 1.419 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/1.245, allocations: 0.539 MB / 1.42 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/1.245, allocations: 260.9 kB / 1.42 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/1.246, allocations: 0.6861 MB / 1.421 GB, free: 161 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.21e-05/1.246, allocations: 0 / 1.421 GB, free: 161 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/1.246, allocations: 9.75 kB / 1.421 GB, free: 161 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/1.246, allocations: 0 / 1.421 GB, free: 161 MB / 0.9011 GB Notification: Performance of Templates: time 0.01249/1.258, allocations: 5.253 MB / 1.426 GB, free: 160.6 MB / 0.9011 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