Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007458/0.007458, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001421/0.001421, allocations: 194.1 kB / 16.67 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.875/2.875, allocations: 437.1 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3435, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002584/0.3461, allocations: 1.363 MB / 1.168 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.348, allocations: 1.091 MB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.348, allocations: 4 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.3481, allocations: 0 / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.3481, allocations: 11.88 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.3488, allocations: 214.8 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.3489, allocations: 31.86 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.349, allocations: 4 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.3491, allocations: 15.92 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.3492, allocations: 19.92 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.3492, allocations: 4 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.3498, allocations: 427.5 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.3499, allocations: 0 / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.3499, allocations: 11.94 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.3502, allocations: 201.5 kB / 1.17 GB, free: 3.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3503, allocations: 3.938 kB / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3503, allocations: 0 / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3503, allocations: 0 / 1.17 GB, free: 3.906 MB / 0.92 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.000518/0.3508, allocations: 394.8 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3508, allocations: 15.92 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.3509, allocations: 34.75 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.3509, allocations: 4.938 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.3511, allocations: 172.3 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3511, allocations: 4.375 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.3511, allocations: 384 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3512, allocations: 45.81 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3512, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3513, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3513, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.3513, allocations: 11.98 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.3515, allocations: 169.6 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.525e-05/0.3516, allocations: 38.55 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.3517, allocations: 16.89 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.3527, allocations: 0.9895 MB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3527, allocations: 34.5 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3527, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.3529, allocations: 61.62 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.353, allocations: 51.41 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3531, allocations: 105.8 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3531, allocations: 25.7 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.3532, allocations: 84.14 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3532, allocations: 11.91 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.3533, allocations: 21.7 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3534, allocations: 310.8 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.3534, allocations: 15.94 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.3535, allocations: 4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.3535, allocations: 24.84 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3535, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.262e-05/0.3536, allocations: 61.52 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3536, allocations: 4 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3536, allocations: 0 / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3537, allocations: 0 / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3538, allocations: 12 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3538, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.3538, allocations: 12 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3538, allocations: 4 kB / 1.172 GB, free: 0.7422 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.881e-05/0.3539, allocations: 112 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.3539, allocations: 11.89 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.3541, allocations: 61.53 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3541, allocations: 0 / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3541, allocations: 0 / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3541, allocations: 0 / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3542, allocations: 169.6 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3543, allocations: 4 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.3543, allocations: 15.94 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3543, allocations: 384 / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3544, allocations: 4 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3544, allocations: 4 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3544, allocations: 0 / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.3545, allocations: 77.05 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3546, allocations: 88.98 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3546, allocations: 4 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.3546, allocations: 8 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.3546, allocations: 3.938 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3546, allocations: 0 / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.544e-05/0.3547, allocations: 91.56 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3547, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002398/0.355, allocations: 39.88 kB / 1.173 GB, free: 15.95 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005822/0.3556, allocations: 0.6669 MB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3557, allocations: 23.92 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3557, allocations: 4 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.035e-05/0.3557, allocations: 8 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.356, allocations: 7.984 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.3565, allocations: 205.5 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3568, allocations: 0.6807 MB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.3568, allocations: 4 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.3568, allocations: 15.42 kB / 1.174 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3568, allocations: 0 / 1.174 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.3797, allocations: 2.192 MB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.602, allocations: 11.06 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches