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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009602/0.009603, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001325/0.001325, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.03 kB / 0.9505 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2596, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002174/0.2618, allocations: 1.36 MB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.2634, allocations: 1.077 MB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.2635, allocations: 3.938 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2635, allocations: 3.938 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.509e-05/0.2635, allocations: 7.938 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.2641, allocations: 223.2 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.2642, allocations: 27.86 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.2643, allocations: 7.938 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.2643, allocations: 15.98 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.2644, allocations: 15.92 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.2644, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.265, allocations: 427.4 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.265, allocations: 7.938 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.265, allocations: 19.92 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.2653, allocations: 191 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2653, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2653, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2653, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 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.0004132/0.2658, allocations: 379.6 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2658, allocations: 16.02 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.2658, allocations: 38.75 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.2659, allocations: 8.844 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.266, allocations: 164.4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.266, allocations: 4.312 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.266, allocations: 8.359 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.2661, allocations: 41.81 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2661, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2661, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2661, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.2662, allocations: 11.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.2664, allocations: 165.7 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.2665, allocations: 46.44 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.2665, allocations: 16.89 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008634/0.2674, allocations: 0.9817 MB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2674, allocations: 38.5 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2674, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.2676, allocations: 53.59 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2676, allocations: 55.41 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.2677, allocations: 109.8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2677, allocations: 33.64 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.2678, allocations: 84.14 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.2678, allocations: 11.83 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.2678, allocations: 17.72 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.2679, allocations: 314.8 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.268, allocations: 11.98 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.268, allocations: 7.938 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.268, allocations: 16.86 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.268, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.961e-05/0.2681, allocations: 57.53 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2682, allocations: 9.719 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2682, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2682, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2683, allocations: 19.92 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2683, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.2684, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2684, allocations: 8 kB / 1.093 GB, free: 11.44 MB / 0.8575 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 6.564e-05/0.2684, allocations: 109.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.2685, allocations: 7.844 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.2686, allocations: 68 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2686, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2686, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.2686, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.2687, allocations: 157.7 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2687, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.2688, allocations: 23.86 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2688, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2688, allocations: 7.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2688, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2689, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.754e-05/0.269, allocations: 73.12 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.269, allocations: 88.95 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.269, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.269, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.2691, allocations: 8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2691, allocations: 7.984 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.888e-05/0.2691, allocations: 83.58 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2691, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002441/0.2694, allocations: 47.92 kB / 1.094 GB, free: 10.65 MB / 0.8575 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.0004511/0.2698, allocations: 0.6631 MB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.2699, allocations: 24 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.27, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.27, allocations: 15.92 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.2702, allocations: 8 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.2707, allocations: 187.7 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.2709, allocations: 0.6884 MB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.2709, allocations: 4 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.271, allocations: 11.44 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.271, allocations: 3.938 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.29, allocations: 2.2 MB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.765, allocations: 2.625 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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