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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.386/2.386, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001049/0.001049, allocations: 176.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.556/1.556, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.0009027/0.0009028, allocations: 95.83 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.031e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.17, allocations: 154.5 MB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.17, allocations: 111 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01805/1.189, allocations: 6.32 MB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/1.189, allocations: 0 / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.253e-06/1.189, allocations: 0 / 1.376 GB, free: 10.14 MB / 0.8386 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.0004111/1.189, allocations: 389.5 kB / 1.376 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.189, allocations: 8.031 kB / 1.376 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/1.189, allocations: 12.48 kB / 1.376 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.189, allocations: 162.5 kB / 1.376 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/1.189, allocations: 0 / 1.376 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/1.189, allocations: 8 kB / 1.376 GB, free: 9.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/1.189, allocations: 41.12 kB / 1.377 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/1.189, allocations: 3.938 kB / 1.377 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/1.189, allocations: 4 kB / 1.377 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.189, allocations: 4 kB / 1.377 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.757e-05/1.189, allocations: 8 kB / 1.377 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/1.19, allocations: 168.8 kB / 1.377 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/1.19, allocations: 41.86 kB / 1.377 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/1.19, allocations: 16.33 kB / 1.377 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008981/1.191, allocations: 0.9811 MB / 1.378 GB, free: 7.965 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/1.191, allocations: 34.56 kB / 1.378 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/1.191, allocations: 0 / 1.378 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001475/1.191, allocations: 45.58 kB / 1.378 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.191, allocations: 55.39 kB / 1.378 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/1.191, allocations: 96.75 kB / 1.378 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/1.191, allocations: 25.7 kB / 1.378 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/1.191, allocations: 84.08 kB / 1.378 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/1.191, allocations: 15.8 kB / 1.378 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/1.191, allocations: 4 kB / 1.378 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.191, allocations: 326.4 kB / 1.378 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/1.191, allocations: 4 kB / 1.378 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/1.191, allocations: 11.94 kB / 1.378 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/1.191, allocations: 11.31 kB / 1.378 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.191, allocations: 0 / 1.378 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.697e-05/1.191, allocations: 53.09 kB / 1.378 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.191, allocations: 4 kB / 1.378 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.191, allocations: 0 / 1.378 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.192, allocations: 4 kB / 1.378 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.192, allocations: 15.98 kB / 1.378 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.192, allocations: 0 / 1.378 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/1.192, allocations: 4 kB / 1.378 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/1.192, allocations: 0 / 1.378 GB, free: 7.148 MB / 0.8386 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 (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 5.8e-05/1.192, allocations: 104.9 kB / 1.379 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/1.192, allocations: 11.31 kB / 1.379 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/1.192, allocations: 59.95 kB / 1.379 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.192, allocations: 0 / 1.379 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.192, allocations: 4 kB / 1.379 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.192, allocations: 3.938 kB / 1.379 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/1.192, allocations: 165.2 kB / 1.379 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.192, allocations: 0 / 1.379 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/1.192, allocations: 15.98 kB / 1.379 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.192, allocations: 0 / 1.379 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/1.192, allocations: 0 / 1.379 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.192, allocations: 0 / 1.379 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.192, allocations: 4 kB / 1.379 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.946e-05/1.192, allocations: 83.77 kB / 1.379 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/1.192, allocations: 81.05 kB / 1.379 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/1.192, allocations: 0 / 1.379 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/1.192, allocations: 3.25 kB / 1.379 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/1.192, allocations: 7.984 kB / 1.379 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.192, allocations: 0 / 1.379 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.097e-05/1.192, allocations: 84.14 kB / 1.379 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.192, allocations: 0 / 1.379 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002146/1.193, allocations: 47.31 kB / 1.379 GB, free: 6.41 MB / 0.8386 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 (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.0002628/1.193, allocations: 159.1 kB / 1.379 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.446e-05/1.193, allocations: 23.61 kB / 1.379 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.193, allocations: 0 / 1.379 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/1.193, allocations: 15.5 kB / 1.379 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/1.193, allocations: 240 / 1.379 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/1.193, allocations: 80.06 kB / 1.379 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/1.194, allocations: 0.6887 MB / 1.38 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.61e-05/1.194, allocations: 5.031 kB / 1.38 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/1.194, allocations: 7.438 kB / 1.38 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.194, allocations: 7.938 kB / 1.38 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of Templates: time 0.003172/1.197, allocations: 1.055 MB / 1.381 GB, free: 4.395 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches