Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001618/0.001618, 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.002069/0.002069, allocations: 193.9 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.628/2.628, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6366, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002907/0.6395, allocations: 1.474 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.6409, allocations: 0.9111 MB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.641, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.6413, allocations: 51.81 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.6413, allocations: 11.86 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.6419, allocations: 198.4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.211e-05/0.642, allocations: 47.69 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.6421, allocations: 15.88 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.6421, allocations: 19.88 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.6422, allocations: 15.92 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.6422, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.6425, allocations: 147.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.6425, allocations: 3.984 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.6426, allocations: 15.88 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.6428, allocations: 129.9 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6428, allocations: 3.984 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6428, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6429, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003808/0.6432, allocations: 363.3 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6433, allocations: 12.03 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.6433, allocations: 106 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.6434, allocations: 80.12 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.6436, allocations: 260.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.6437, allocations: 162.9 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.6437, allocations: 150.9 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.361e-05/0.6438, allocations: 105.1 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.6438, allocations: 75.28 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.6439, allocations: 150.6 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.6439, allocations: 150.6 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.644, allocations: 154.6 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.6443, allocations: 469.8 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.6444, allocations: 169.1 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.6444, allocations: 88.12 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.6445, allocations: 79.28 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.6445, allocations: 109.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.6445, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.32e-05/0.6446, allocations: 37.55 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.6447, allocations: 130.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.6448, allocations: 131.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.6448, allocations: 25.7 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.6449, allocations: 92.14 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.6449, allocations: 16 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.6449, allocations: 21.7 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.645, allocations: 322.8 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.6451, allocations: 3.938 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.6451, allocations: 4.016 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.6451, allocations: 16.84 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6451, allocations: 0 / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/0.6452, allocations: 57.52 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6453, allocations: 8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.6453, allocations: 0 / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6453, allocations: 0 / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.6453, allocations: 0 / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6453, allocations: 0 / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.6454, allocations: 4 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.6454, allocations: 3.984 kB / 1.024 GB, free: 11.68 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: 0 * Record equations: 1 * 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 9.074e-05/0.6455, allocations: 181.8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.6455, allocations: 120.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.6456, allocations: 116.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/0.6456, allocations: 180.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.764e-05/0.6457, allocations: 180.2 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-05/0.6458, allocations: 180.3 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.646, allocations: 413.3 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/0.646, allocations: 116.9 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.6461, allocations: 109 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.605e-05/0.6461, allocations: 180.2 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.6462, allocations: 176.3 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.697e-05/0.6463, allocations: 180.2 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.992e-05/0.6463, allocations: 184.3 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.6464, allocations: 311.7 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.6465, allocations: 189.9 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.6466, allocations: 180.2 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.6467, allocations: 109 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.6467, allocations: 180.2 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.6468, allocations: 108.9 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.6468, allocations: 96.83 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6468, allocations: 0 / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002952/0.6471, allocations: 31.94 kB / 1.027 GB, free: 8.012 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 (0): * Single equations (assignments): 0 * 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.0005042/0.6477, allocations: 0.8555 MB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.325e-05/0.6478, allocations: 41.58 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6478, allocations: 4 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.6478, allocations: 0 / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.6482, allocations: 475.7 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.6494, allocations: 1.457 MB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.6497, allocations: 0.6846 MB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.6497, allocations: 3.984 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.6497, allocations: 19.44 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.6497, allocations: 0 / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.6701, allocations: 2.69 MB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/8.041, allocations: 15.14 kB / 1.033 GB, free: 1.773 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_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_SingleUTubeResistances.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches