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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001287/0.001287, allocations: 187.3 kB / 498.1 MB, free: 5.723 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.675/1.675, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.00102/0.001021, allocations: 89.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 15.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3793, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/0.591, allocations: 153.7 MB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.5914, allocations: 111.9 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.6099, allocations: 6.341 MB / 1.379 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.295e-06/0.61, allocations: 0 / 1.379 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.61, allocations: 0 / 1.379 GB, free: 1.879 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005184/0.6105, allocations: 399.5 kB / 1.38 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6106, allocations: 12.03 kB / 1.38 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.6106, allocations: 7.953 kB / 1.38 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.6108, allocations: 163 kB / 1.38 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6108, allocations: 4 kB / 1.38 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.6108, allocations: 7.984 kB / 1.38 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.6109, allocations: 29.7 kB / 1.38 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.611, allocations: 0 / 1.38 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.611, allocations: 4 kB / 1.38 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.611, allocations: 0 / 1.38 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.6111, allocations: 19.92 kB / 1.38 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.6113, allocations: 161.6 kB / 1.38 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.6114, allocations: 42.59 kB / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009671/0.6123, allocations: 0.9857 MB / 1.381 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.6124, allocations: 30.56 kB / 1.381 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6124, allocations: 0 / 1.381 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002037/0.6126, allocations: 61.62 kB / 1.381 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6126, allocations: 51.41 kB / 1.381 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.6127, allocations: 101 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.6128, allocations: 25.7 kB / 1.381 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.6128, allocations: 84.14 kB / 1.381 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.6129, allocations: 19.75 kB / 1.381 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.6129, allocations: 3.938 kB / 1.381 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.613, allocations: 314.8 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.6131, allocations: 11.98 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.6131, allocations: 4 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.6131, allocations: 8 kB / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6131, allocations: 0 / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.177e-05/0.6132, allocations: 57.53 kB / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6132, allocations: 12.78 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6132, allocations: 0 / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6133, allocations: 0 / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.6134, allocations: 15.98 kB / 1.382 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6134, allocations: 3.938 kB / 1.382 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.6134, allocations: 0 / 1.382 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.6135, allocations: 0 / 1.382 GB, free: 14.84 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001103/0.6136, allocations: 113.8 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.6136, allocations: 0 / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.6138, allocations: 69.53 kB / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6138, allocations: 0 / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.6138, allocations: 4 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6138, allocations: 3.984 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.6139, allocations: 161.6 kB / 1.382 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.614, allocations: 4 kB / 1.382 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.614, allocations: 12 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.6141, allocations: 7.984 kB / 1.382 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6141, allocations: 0 / 1.382 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6141, allocations: 0 / 1.382 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6141, allocations: 4 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.6142, allocations: 80.97 kB / 1.382 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.6143, allocations: 81.48 kB / 1.382 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.6143, allocations: 4 kB / 1.382 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.6143, allocations: 0 / 1.382 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.6144, allocations: 0 / 1.382 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.6144, allocations: 4 kB / 1.382 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.6144, allocations: 91.56 kB / 1.382 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.6144, allocations: 4 kB / 1.382 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002414/0.6147, allocations: 39.94 kB / 1.383 GB, free: 14.06 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 (4): * Single equations (assignments): 4 * 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.0003245/0.615, allocations: 174.8 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.927e-05/0.6151, allocations: 19.98 kB / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6151, allocations: 0 / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.6152, allocations: 15.94 kB / 1.383 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.6154, allocations: 7.984 kB / 1.383 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.6158, allocations: 170.5 kB / 1.383 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.616, allocations: 0.6809 MB / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.6161, allocations: 0 / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.6161, allocations: 15.44 kB / 1.384 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.6161, allocations: 0 / 1.384 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.003606/0.6197, allocations: 1.029 MB / 1.385 GB, free: 11.93 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches