Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 252 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 183.1 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 92.55 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 16.06 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 106.3 MB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.4061, allocations: 152.2 MB / 1.049 GB, free: 7.988 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.4065, allocations: 124.9 kB / 1.049 GB, free: 7.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.502/0.9086, allocations: 15 MB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9086, allocations: 0 / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.9086, allocations: 2.656 kB / 1.064 GB, free: 150.7 MB / 0.698 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.001058/0.9097, allocations: 0.5653 MB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9097, allocations: 13 kB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.9098, allocations: 87.52 kB / 1.064 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.91, allocations: 252.2 kB / 1.064 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.91, allocations: 153.5 kB / 1.065 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.91, allocations: 150.6 kB / 1.065 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.339e-05/0.9101, allocations: 102.8 kB / 1.065 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.9101, allocations: 80.34 kB / 1.065 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.9101, allocations: 157.8 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.9102, allocations: 150.6 kB / 1.065 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.9102, allocations: 153.6 kB / 1.065 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.9105, allocations: 463.1 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/0.9105, allocations: 174.2 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.9105, allocations: 75.28 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.9106, allocations: 110.5 kB / 1.066 GB, free: 148.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.9106, allocations: 0 / 1.066 GB, free: 148.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.433e-05/0.9107, allocations: 37.19 kB / 1.066 GB, free: 148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.9107, allocations: 130.7 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.9109, allocations: 122.7 kB / 1.066 GB, free: 147.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/0.9109, allocations: 25.7 kB / 1.066 GB, free: 147.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.9109, allocations: 91.95 kB / 1.067 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.9109, allocations: 0 / 1.067 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.9109, allocations: 0 / 1.067 GB, free: 147.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.911, allocations: 320.3 kB / 1.067 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.911, allocations: 3.656 kB / 1.067 GB, free: 147.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.568e-05/0.911, allocations: 7.078 kB / 1.067 GB, free: 147.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.9111, allocations: 10.31 kB / 1.067 GB, free: 147.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9111, allocations: 0 / 1.067 GB, free: 147.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/0.9112, allocations: 47.95 kB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9112, allocations: 10.3 kB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9113, allocations: 2.719 kB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.9113, allocations: 8.719 kB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.9113, allocations: 0 / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9113, allocations: 3.156 kB / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.9113, allocations: 0 / 1.067 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.9113, allocations: 0.75 kB / 1.067 GB, free: 147.3 MB / 0.698 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 6.311e-05/0.9114, allocations: 192.1 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.9115, allocations: 112.5 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.9115, allocations: 113.5 kB / 1.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.9115, allocations: 177.7 kB / 1.068 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/0.9116, allocations: 177 kB / 1.068 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.9116, allocations: 193.2 kB / 1.068 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.9118, allocations: 415.3 kB / 1.068 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.9118, allocations: 105.7 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.9118, allocations: 105 kB / 1.068 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-05/0.9119, allocations: 178.5 kB / 1.069 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.9119, allocations: 181 kB / 1.069 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-05/0.9119, allocations: 184.1 kB / 1.069 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-05/0.912, allocations: 184.5 kB / 1.069 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.99e-05/0.912, allocations: 299.9 kB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.9121, allocations: 195.8 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.9121, allocations: 184.5 kB / 1.07 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.9122, allocations: 105.5 kB / 1.07 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.9123, allocations: 176.9 kB / 1.07 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.9123, allocations: 104.5 kB / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.9123, allocations: 104.4 kB / 1.07 GB, free: 143.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9123, allocations: 0 / 1.07 GB, free: 143.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001137/0.9135, allocations: 321.5 kB / 1.071 GB, free: 143.7 MB / 0.698 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.001776/0.9153, allocations: 0.561 MB / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.9154, allocations: 37.81 kB / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9154, allocations: 0 / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.9154, allocations: 4.938 kB / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.9157, allocations: 0.5308 MB / 1.072 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.916, allocations: 251.5 kB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.9161, allocations: 0.6895 MB / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.9161, allocations: 4.938 kB / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.9162, allocations: 9.469 kB / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.9162, allocations: 0 / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01227/0.9284, allocations: 5.227 MB / 1.078 GB, free: 141.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches