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.001309/0.001309, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.675/2.675, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.0023, allocations: 59.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7333, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.003384/0.7368, allocations: 0.5385 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.7372, allocations: 107.7 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.7373, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.7374, allocations: 7.984 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.198e-05/0.7376, allocations: 11.88 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.7378, allocations: 35.95 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.738, allocations: 31.92 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.7381, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.7381, allocations: 11.98 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.7382, allocations: 11.98 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.7382, allocations: 8 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.7383, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.7384, allocations: 4 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.7384, allocations: 19.91 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.7386, allocations: 19.97 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.7386, allocations: 4 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.367e-06/0.7386, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.7386, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 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.0005286/0.7392, allocations: 357.2 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.7392, allocations: 8.031 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/0.7393, allocations: 34.75 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.7394, allocations: 8.875 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.7396, allocations: 168.4 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.7396, allocations: 8.375 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.7396, allocations: 4.375 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.7398, allocations: 54.17 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7398, allocations: 3.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.7399, allocations: 7.938 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.7399, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.7399, allocations: 15.98 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.7402, allocations: 149.7 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.7403, allocations: 30.61 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.7403, allocations: 16.91 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.7403, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.7404, allocations: 34.5 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.7404, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0003211/0.7407, allocations: 115.3 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.7408, allocations: 81.09 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.7409, allocations: 93.86 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.7409, allocations: 29.7 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.741, allocations: 84.14 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.741, allocations: 7.891 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.7411, allocations: 21.7 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7413, allocations: 323.1 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.7413, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.7413, allocations: 15.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.7414, allocations: 80.2 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7414, allocations: 3.984 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001614/0.7416, allocations: 91.39 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.7417, allocations: 37.64 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7417, allocations: 3.984 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.7417, allocations: 8.094 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.7417, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7417, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.7419, allocations: 6.25 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.7419, allocations: 7.984 kB / 1.02 GB, free: 15.5 MB / 0.7794 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.0001133/0.742, allocations: 139.5 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.7421, allocations: 7.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/0.7421, allocations: 3.125 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7421, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7421, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7421, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.7422, allocations: 153.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7423, allocations: 7.875 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-06/0.7423, allocations: 11.92 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7423, allocations: 3.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.7423, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.7423, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7423, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.7425, allocations: 122.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.7426, allocations: 77.11 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.7426, allocations: 11.94 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.7427, allocations: 7.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.7427, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.7427, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.7428, allocations: 83.31 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7428, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002267/0.743, allocations: 12 kB / 1.021 GB, free: 14.75 MB / 0.7794 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.0007017/0.7437, allocations: 0.6875 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.7439, allocations: 79.39 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7439, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.744, allocations: 71.39 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.7442, allocations: 4.75 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.7448, allocations: 146.5 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.7451, allocations: 0.6769 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.7452, allocations: 3.984 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.7453, allocations: 15.44 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/0.7453, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.7691, allocations: 1.84 MB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/8.354, allocations: 26.55 kB / 1.024 GB, free: 11.21 MB / 0.7794 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