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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001176/0.001176, allocations: 180.4 kB / 498.1 MB, free: 5.727 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.537/1.537, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.0008712/0.0008713, allocations: 99.5 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 8.484 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3243, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.5285, allocations: 161.6 MB / 1.381 GB, free: 320 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.5289, allocations: 123.9 kB / 1.381 GB, free: 196 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02357/0.5525, allocations: 8.047 MB / 1.389 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5525, allocations: 0 / 1.389 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.5525, allocations: 0 / 1.389 GB, free: 8.129 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007012/0.5532, allocations: 0.4946 MB / 1.389 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5533, allocations: 8.031 kB / 1.389 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.5533, allocations: 15.86 kB / 1.389 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.5535, allocations: 179.5 kB / 1.389 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.5535, allocations: 3.938 kB / 1.389 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.5535, allocations: 0 / 1.389 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.5537, allocations: 53.69 kB / 1.389 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5537, allocations: 0 / 1.389 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.5537, allocations: 0 / 1.389 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5537, allocations: 4 kB / 1.389 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.5538, allocations: 23.98 kB / 1.39 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.554, allocations: 193.6 kB / 1.39 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.5541, allocations: 50.5 kB / 1.39 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.5541, allocations: 3.938 kB / 1.39 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.5541, allocations: 30.56 kB / 1.39 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.5541, allocations: 0 / 1.39 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0002674/0.5544, allocations: 206.7 kB / 1.39 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.5544, allocations: 51.41 kB / 1.39 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.5546, allocations: 149.8 kB / 1.39 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.5546, allocations: 25.7 kB / 1.39 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.5547, allocations: 92.14 kB / 1.39 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.5547, allocations: 27.64 kB / 1.39 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.5547, allocations: 0 / 1.39 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5548, allocations: 326.8 kB / 1.391 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.5549, allocations: 31.92 kB / 1.391 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.5549, allocations: 24.16 kB / 1.391 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.555, allocations: 40.08 kB / 1.391 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.555, allocations: 0 / 1.391 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.5551, allocations: 89.56 kB / 1.391 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5551, allocations: 9.719 kB / 1.391 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5551, allocations: 0 / 1.391 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5552, allocations: 0 / 1.391 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.5552, allocations: 0 / 1.391 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.5552, allocations: 0 / 1.391 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.5552, allocations: 11.84 kB / 1.391 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.5552, allocations: 0 / 1.391 GB, free: 5.781 MB / 0.8855 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 9.595e-05/0.5553, allocations: 133.8 kB / 1.391 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.5554, allocations: 11.89 kB / 1.391 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.5556, allocations: 199.9 kB / 1.391 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.923e-05/0.5556, allocations: 176.3 kB / 1.391 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.837e-05/0.5557, allocations: 184.2 kB / 1.391 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.84e-05/0.5558, allocations: 188.2 kB / 1.392 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.5561, allocations: 441.1 kB / 1.392 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/0.5561, allocations: 105 kB / 1.392 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.5561, allocations: 101 kB / 1.392 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.949e-05/0.5562, allocations: 184.2 kB / 1.392 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.5563, allocations: 176.3 kB / 1.393 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.291e-05/0.5564, allocations: 192.2 kB / 1.393 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.519e-05/0.5564, allocations: 176.3 kB / 1.393 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.5566, allocations: 323.5 kB / 1.393 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.5568, allocations: 213.9 kB / 1.393 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.5569, allocations: 188.2 kB / 1.394 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.557, allocations: 101 kB / 1.394 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.5571, allocations: 184.2 kB / 1.394 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.5571, allocations: 104.9 kB / 1.394 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002598/0.5574, allocations: 272.1 kB / 1.394 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5574, allocations: 0 / 1.394 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008492/0.5582, allocations: 239.7 kB / 1.395 GB, free: 1.734 MB / 0.8855 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.0008326/0.5591, allocations: 450.5 kB / 1.395 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.5592, allocations: 69.69 kB / 1.395 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5592, allocations: 0 / 1.395 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.5592, allocations: 0 / 1.395 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.5596, allocations: 0.5341 MB / 1.396 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.56, allocations: 298.3 kB / 1.396 GB, free: 360 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.5603, allocations: 0.7082 MB / 1.397 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.5603, allocations: 4 kB / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.416e-05/0.5603, allocations: 11.44 kB / 1.397 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of SimCode: time 2.21e-07/0.5603, allocations: 0 / 1.397 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.007544/0.5679, allocations: 4.107 MB / 1.401 GB, free: 11.54 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches