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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 8 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8166, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001515/0.8182, allocations: 1.059 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.8198, allocations: 0.991 MB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.8199, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.8199, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.8199, allocations: 11.98 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.8204, allocations: 147.5 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.8205, allocations: 15.97 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.8205, allocations: 3.984 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.8206, allocations: 15.94 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.8207, allocations: 11.98 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.8207, allocations: 8 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.8212, allocations: 399.4 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.8213, allocations: 7.984 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.8213, allocations: 25.7 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.8215, allocations: 137.7 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8215, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8215, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.8216, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 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.0004291/0.822, allocations: 381.2 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.822, allocations: 15.98 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.8221, allocations: 7.906 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.8222, allocations: 175 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8222, allocations: 8 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.8223, allocations: 4 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.8224, allocations: 37.64 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.8224, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.8224, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8224, allocations: 4 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.8225, allocations: 12 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.8227, allocations: 161.6 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/0.8227, allocations: 46.55 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009222/0.8237, allocations: 0.9896 MB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.8237, allocations: 30.56 kB / 1.025 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.8237, allocations: 0 / 1.025 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001735/0.8239, allocations: 61.55 kB / 1.025 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.8239, allocations: 55.34 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.824, allocations: 109.8 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.8241, allocations: 25.7 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.8241, allocations: 92.06 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.8241, allocations: 7.906 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.8241, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8243, allocations: 314.8 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.8243, allocations: 4 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.8243, allocations: 11.98 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.8243, allocations: 4 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8243, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.925e-05/0.8244, allocations: 53.59 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8245, allocations: 5.719 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.8245, allocations: 4 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8245, allocations: 3.953 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.8246, allocations: 15.94 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.8246, allocations: 0 / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.8246, allocations: 0 / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.8247, allocations: 3.938 kB / 1.026 GB, free: 11.22 MB / 0.7794 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 7.466e-05/0.8247, allocations: 121.8 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.8247, allocations: 3.906 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.8249, allocations: 61.91 kB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.8249, allocations: 3.953 kB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8249, allocations: 0 / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8249, allocations: 4 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.825, allocations: 157.7 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.825, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.8251, allocations: 15.94 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8251, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.8251, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8251, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8251, allocations: 4.266 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.8252, allocations: 77.11 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.8253, allocations: 84.95 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.8253, allocations: 4 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.8253, allocations: 0 / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.8254, allocations: 0 / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.8254, allocations: 15.95 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.8254, allocations: 87.25 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8254, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002248/0.8257, allocations: 40 kB / 1.027 GB, free: 10.44 MB / 0.7794 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.0002421/0.8259, allocations: 155.1 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.826, allocations: 19.98 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.826, allocations: 0 / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.826, allocations: 12 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.8262, allocations: 15.86 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.8265, allocations: 174.3 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.8268, allocations: 0.6809 MB / 1.028 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.8268, allocations: 10.53 kB / 1.028 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.8268, allocations: 11.44 kB / 1.028 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8268, allocations: 0 / 1.028 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.003333/0.8302, allocations: 1.077 MB / 1.029 GB, free: 8.277 MB / 0.7794 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