Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.008158/0.008158, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001323/0.001323, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.58/2.58, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.75 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3047, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002828/0.3076, allocations: 1.292 MB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005202/0.3128, allocations: 3.757 MB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.3129, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.3129, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.3135, allocations: 107.5 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.3139, allocations: 139.5 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.314, allocations: 27.91 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.3141, allocations: 0 / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3142, allocations: 23.92 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3143, allocations: 39.83 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3143, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.3149, allocations: 307.6 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.3149, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.3149, allocations: 11.94 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3152, allocations: 122.6 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.3153, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.487e-06/0.3153, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.3153, allocations: 0 / 1.093 GB, free: 12.14 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005297/0.3159, allocations: 356.3 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3159, allocations: 8.031 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.316, allocations: 38.67 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.316, allocations: 4.938 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3161, allocations: 172.3 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3161, allocations: 384 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.3162, allocations: 384 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.276e-05/0.3163, allocations: 33.64 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3163, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.3163, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3163, allocations: 4 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.3163, allocations: 11.98 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.3165, allocations: 157.6 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.3166, allocations: 26.52 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.3166, allocations: 8.922 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.3168, allocations: 101 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3169, allocations: 34.56 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3169, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.317, allocations: 45.69 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3171, allocations: 55.34 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.3172, allocations: 105.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3172, allocations: 25.7 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.3172, allocations: 84.14 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3172, allocations: 7.891 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.3173, allocations: 13.72 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.3174, allocations: 319 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.3174, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.3174, allocations: 7.984 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.3175, allocations: 8.859 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3175, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.653e-05/0.3175, allocations: 45.58 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3176, allocations: 8 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3176, allocations: 256 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3176, allocations: 96 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.3177, allocations: 15.98 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3177, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.3177, allocations: 3.938 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.3177, allocations: 0 / 1.095 GB, free: 10.22 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 (2): * Single equations (assignments): 2 * 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.043e-05/0.3178, allocations: 110.4 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.3178, allocations: 3.938 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3179, allocations: 52.81 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3179, allocations: 7.969 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3179, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.318, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.662e-05/0.3181, allocations: 149.7 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3181, allocations: 3.938 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.3181, allocations: 7.938 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3181, allocations: 0 / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3181, allocations: 0 / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3181, allocations: 0 / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3181, allocations: 3.938 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.644e-05/0.3182, allocations: 73.03 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.3183, allocations: 85.05 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3183, allocations: 4 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.3183, allocations: 0 / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3183, allocations: 3.984 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3183, allocations: 0 / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.3184, allocations: 79.28 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3184, allocations: 0 / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002178/0.3186, allocations: 28.03 kB / 1.095 GB, free: 9.512 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 (2): * Single equations (assignments): 2 * 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.0004487/0.3191, allocations: 0.6358 MB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.3192, allocations: 8 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3192, allocations: 0 / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.3192, allocations: 16.03 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3194, allocations: 9.625 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.3199, allocations: 165.2 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.3201, allocations: 0.6768 MB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.3202, allocations: 8.062 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.3202, allocations: 7.438 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.3202, allocations: 0 / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.341, allocations: 1.65 MB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.243, allocations: 20.77 kB / 1.098 GB, free: 6.375 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches