Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",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.007073/0.007073, allocations: 96.31 kB / 15.73 MB, free: 6.055 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.001565/0.001565, allocations: 191.6 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.266 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.485/2.485, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2931, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00182/0.2949, allocations: 0.5547 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.2952, allocations: 108.1 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.2952, allocations: 0 / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2954, allocations: 7.984 kB / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.2954, allocations: 0 / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.2956, allocations: 35.91 kB / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.486e-05/0.2957, allocations: 27.97 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.2957, allocations: 8 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.907e-05/0.2958, allocations: 19.92 kB / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.2958, allocations: 19.97 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2959, allocations: 0 / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.2959, allocations: 8 kB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2959, allocations: 0 / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.296, allocations: 11.94 kB / 1.167 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2961, allocations: 31.89 kB / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2961, allocations: 0 / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2961, allocations: 0 / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.2961, allocations: 0 / 1.167 GB, free: 6.473 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003473/0.2965, allocations: 369.4 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2965, allocations: 8.031 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.2966, allocations: 34.75 kB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.2966, allocations: 8.938 kB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2967, allocations: 164.4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2967, allocations: 384 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2967, allocations: 4.375 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.2969, allocations: 54.23 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2969, allocations: 7.922 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2969, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2969, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.2969, allocations: 11.94 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.2971, allocations: 153.7 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.554e-05/0.2971, allocations: 26.59 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.2972, allocations: 24.91 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2972, allocations: 3.984 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2972, allocations: 34.56 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.2972, allocations: 0 / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002269/0.2975, allocations: 115.2 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2975, allocations: 81.05 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.2976, allocations: 93.86 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2976, allocations: 25.7 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.2976, allocations: 88.12 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.2977, allocations: 16.14 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.2977, allocations: 17.72 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.2978, allocations: 314.8 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.2978, allocations: 11.98 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.2979, allocations: 12 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.298, allocations: 76.25 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.298, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001297/0.2981, allocations: 103.4 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.2981, allocations: 41.64 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2982, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2982, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.2982, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2982, allocations: 0 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.2983, allocations: 11.98 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2983, allocations: 0 / 1.169 GB, free: 4.316 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.185e-05/0.2984, allocations: 139.5 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.2984, allocations: 11.97 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.07e-05/0.2985, allocations: 3.125 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2985, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2985, allocations: 3.984 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2985, allocations: 0 / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.586e-05/0.2986, allocations: 153.7 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2986, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.2986, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2986, allocations: 3.938 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2986, allocations: 4 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2986, allocations: 0 / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2986, allocations: 4 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.2988, allocations: 130.8 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.2988, allocations: 77.11 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.2988, allocations: 11.92 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.2989, allocations: 4 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.299, allocations: 0 / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.299, allocations: 8 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.299, allocations: 83.3 kB / 1.169 GB, free: 3.582 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.483e-06/0.299, allocations: 0 / 1.169 GB, free: 3.582 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001899/0.2992, allocations: 19.94 kB / 1.169 GB, free: 3.562 MB / 0.92 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004777/0.2997, allocations: 0.6833 MB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.2998, allocations: 83.38 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2998, allocations: 4 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.2999, allocations: 67.41 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3, allocations: 10.02 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.3004, allocations: 134.7 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.3006, allocations: 0.6768 MB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.992e-05/0.3007, allocations: 4 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.3008, allocations: 7.438 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3008, allocations: 3.938 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.3171, allocations: 1.885 MB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.632, allocations: 3.953 kB / 1.173 GB, free: 28 kB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches