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.007703/0.007703, allocations: 99.42 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.001475/0.001475, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.445/2.445, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.75 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002847/0.2893, allocations: 1.268 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004559/0.2938, allocations: 3.761 MB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.2939, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.2939, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.2945, allocations: 111.5 kB / 1.093 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.2949, allocations: 134.4 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.295, allocations: 27.86 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.2951, allocations: 4 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2952, allocations: 31.89 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2953, allocations: 35.86 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2953, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.2958, allocations: 307.6 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.2958, allocations: 3.984 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.2958, allocations: 11.94 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.2961, allocations: 119.9 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2961, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2961, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2961, allocations: 0 / 1.093 GB, free: 12.16 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.000409/0.2965, allocations: 367.1 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2966, allocations: 8.031 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.2966, allocations: 30.75 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.2966, allocations: 4.938 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2967, allocations: 168.3 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2968, allocations: 4.312 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.2968, allocations: 384 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.2969, allocations: 41.56 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2969, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.2969, allocations: 4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2969, allocations: 8 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.297, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.2971, allocations: 157.7 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.2972, allocations: 22.58 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.2972, allocations: 8.922 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.2974, allocations: 109 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2975, allocations: 30.56 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2975, allocations: 3.938 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.2976, allocations: 41.7 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2977, allocations: 51.41 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.2978, allocations: 105.8 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2978, allocations: 25.7 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.2978, allocations: 84.27 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.2978, allocations: 3.953 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2979, allocations: 17.72 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.298, allocations: 314.8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.298, allocations: 4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.298, allocations: 7.938 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.298, allocations: 12.86 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.298, allocations: 4.062 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.245e-05/0.2981, allocations: 45.62 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2982, allocations: 8 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2982, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2982, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.2982, allocations: 4 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2983, allocations: 3.984 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.2983, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2983, allocations: 0 / 1.095 GB, free: 10.24 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.116e-05/0.2984, allocations: 118.3 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.2984, allocations: 7.891 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.2985, allocations: 52.8 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2985, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2985, allocations: 3.938 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2985, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.621e-05/0.2986, allocations: 153.7 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2986, allocations: 3.938 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.417e-05/0.2987, allocations: 4 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2987, allocations: 4.031 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2987, allocations: 0 / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2987, allocations: 3.984 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2987, allocations: 256 / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.773e-05/0.2988, allocations: 65.08 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.2988, allocations: 88.97 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2988, allocations: 8 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.2989, allocations: 4.031 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.2989, allocations: 0 / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.2989, allocations: 0 / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.2989, allocations: 83.28 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2989, allocations: 0 / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002134/0.2992, allocations: 31.86 kB / 1.095 GB, free: 9.516 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.0004145/0.2996, allocations: 0.6396 MB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.518e-05/0.2997, allocations: 8 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2997, allocations: 0 / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.2997, allocations: 4 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2999, allocations: 7.984 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3003, allocations: 177.2 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3006, allocations: 0.6768 MB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.3006, allocations: 0 / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3006, allocations: 11.44 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.3007, allocations: 0 / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.3198, allocations: 1.647 MB / 1.098 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/7.986, allocations: 23.12 kB / 1.099 GB, free: 6.379 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