Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_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.005785/0.005785, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001301/0.001301, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.628/2.628, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 71.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7964, allocations: 159.1 MB / 1.22 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001675/0.7981, allocations: 0.5388 MB / 1.221 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.7984, allocations: 103.7 kB / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.7984, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.915e-05/0.7985, allocations: 4 kB / 1.221 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.7986, allocations: 0 / 1.221 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.7987, allocations: 47.88 kB / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.297e-05/0.7988, allocations: 27.92 kB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.7989, allocations: 3.984 kB / 1.221 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.7989, allocations: 15.98 kB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.799, allocations: 19.97 kB / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.799, allocations: 0 / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.231e-05/0.799, allocations: 8 kB / 1.221 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.7991, allocations: 3.938 kB / 1.221 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.7991, allocations: 15.92 kB / 1.221 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.7992, allocations: 23.97 kB / 1.221 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.7992, allocations: 3.938 kB / 1.221 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7992, allocations: 4 kB / 1.221 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.7992, allocations: 0 / 1.221 GB, free: 1.258 MB / 0.9356 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.0003466/0.7996, allocations: 356.9 kB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.7996, allocations: 8.031 kB / 1.221 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.7997, allocations: 38.75 kB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.7997, allocations: 4.938 kB / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.7998, allocations: 164.4 kB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.7998, allocations: 384 / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.7999, allocations: 4.375 kB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.8, allocations: 58.23 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8, allocations: 3.938 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8, allocations: 4 kB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.8001, allocations: 15.92 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.8002, allocations: 157.6 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.8003, allocations: 26.59 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.8003, allocations: 20.92 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.8003, allocations: 4 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.8004, allocations: 30.56 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.8004, allocations: 0 / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002381/0.8006, allocations: 115.2 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.8007, allocations: 81.11 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.8008, allocations: 97.8 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.8008, allocations: 29.95 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.8008, allocations: 84.12 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.8009, allocations: 7.953 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.8009, allocations: 29.7 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.801, allocations: 310.8 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.8011, allocations: 15.98 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.8011, allocations: 8 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.8012, allocations: 84.31 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8012, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001324/0.8013, allocations: 95.33 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.8014, allocations: 41.62 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8014, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.8014, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.8014, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8014, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.8015, allocations: 4 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.8016, allocations: 11.98 kB / 1.223 GB, free: 15.11 MB / 0.9512 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 0.000101/0.8017, allocations: 144.1 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.8017, allocations: 11.88 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.111e-05/0.8017, allocations: 3.125 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.8017, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8017, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8017, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.8019, allocations: 157.7 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.8019, allocations: 0 / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.8019, allocations: 0 / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.8019, allocations: 7.938 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.8019, allocations: 7.938 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8019, allocations: 4 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.8019, allocations: 0 / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.8021, allocations: 126.8 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.8021, allocations: 77.11 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.8021, allocations: 7.938 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.8023, allocations: 12.02 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.8023, allocations: 0 / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.8023, allocations: 4 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.8023, allocations: 75.28 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8023, allocations: 0 / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001961/0.8025, allocations: 20 kB / 1.223 GB, free: 14.36 MB / 0.9512 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.0005842/0.8031, allocations: 0.687 MB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.8033, allocations: 79.39 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8033, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.8034, allocations: 75.39 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.8035, allocations: 8.156 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.8039, allocations: 142.5 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.8042, allocations: 0.6729 MB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.414e-05/0.8043, allocations: 7.891 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.8043, allocations: 15.38 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.8043, allocations: 0 / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.8269, allocations: 1.883 MB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.806, allocations: 6.375 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches