Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001692/0.001692, allocations: 108 kB / 15.61 MB, free: 152 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.001882/0.001883, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.591/2.591, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7219, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005766/0.7277, allocations: 4.148 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.7314, allocations: 2.419 MB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005888/0.7321, allocations: 8 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.7341, allocations: 0.5479 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008081/0.7349, allocations: 246 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.7352, allocations: 135.9 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007982/0.736, allocations: 0.8137 MB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.7365, allocations: 326.5 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.7368, allocations: 291 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.7371, allocations: 322.6 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.7372, allocations: 80 kB / 1.027 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.7373, allocations: 76 kB / 1.027 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.7375, allocations: 171.4 kB / 1.027 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.7378, allocations: 390.2 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007963/0.7386, allocations: 0.9811 MB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7386, allocations: 0 / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7386, allocations: 0 / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7386, allocations: 0 / 1.028 GB, free: 7.559 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001331/0.74, allocations: 0.9522 MB / 1.029 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.74, allocations: 12.03 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.681e-05/0.7401, allocations: 86.7 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.7402, allocations: 72.09 kB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.7408, allocations: 453.7 kB / 1.03 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.7408, allocations: 33.38 kB / 1.03 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.7409, allocations: 52.36 kB / 1.03 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.7416, allocations: 430.5 kB / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.7416, allocations: 0 / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.7417, allocations: 20 kB / 1.03 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.7417, allocations: 19.94 kB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.7423, allocations: 371.7 kB / 1.031 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.7443, allocations: 1.535 MB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.7449, allocations: 335 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/0.7453, allocations: 325.4 kB / 1.033 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.7454, allocations: 8.625 kB / 1.033 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7454, allocations: 38.56 kB / 1.033 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.7454, allocations: 0 / 1.033 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42): time 0.0009293/0.7463, allocations: 0.4885 MB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.7464, allocations: 63.19 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.7469, allocations: 489.9 kB / 1.034 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.747, allocations: 33.7 kB / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.7471, allocations: 276.4 kB / 1.034 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.7472, allocations: 145.8 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.7473, allocations: 62.08 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7475, allocations: 362.8 kB / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.7477, allocations: 120.7 kB / 1.035 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.748, allocations: 125.2 kB / 1.035 GB, free: 488 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.7485, allocations: 294.4 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7485, allocations: 0 / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006361/0.7491, allocations: 400.3 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7492, allocations: 8 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7492, allocations: 0 / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.7492, allocations: 3.938 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.7497, allocations: 123.9 kB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7497, allocations: 8 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.7499, allocations: 31.67 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.7499, allocations: 12 kB / 1.036 GB, free: 15.6 MB / 0.795 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 (46): * Single equations (assignments): 46 * 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 0.0002034/0.7502, allocations: 195.3 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.7502, allocations: 55.28 kB / 1.036 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.7503, allocations: 61.09 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7504, allocations: 4 kB / 1.036 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7504, allocations: 0 / 1.036 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.7504, allocations: 11.98 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.751, allocations: 0.5711 MB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.751, allocations: 7.938 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.7515, allocations: 127.8 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7515, allocations: 4 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.7515, allocations: 8 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.7515, allocations: 0 / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7515, allocations: 0 / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.7524, allocations: 0.6596 MB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.7526, allocations: 136.3 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.7526, allocations: 12 kB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.7529, allocations: 8 kB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.7529, allocations: 27.95 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.7529, allocations: 12 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000348/0.7533, allocations: 351.1 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7533, allocations: 0 / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003754/0.7537, allocations: 147.5 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001207/0.7549, allocations: 1.211 MB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006839/0.7556, allocations: 348.4 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7556, allocations: 0 / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.7559, allocations: 187.4 kB / 1.04 GB, free: 11.38 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.7566, allocations: 121.8 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.7626, allocations: 5.005 MB / 1.045 GB, free: 6.172 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.7631, allocations: 0.8665 MB / 1.045 GB, free: 5.277 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.7633, allocations: 60.38 kB / 1.046 GB, free: 5.215 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.7636, allocations: 191.4 kB / 1.046 GB, free: 5.027 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.7636, allocations: 0 / 1.046 GB, free: 5.027 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.7954, allocations: 11.22 MB / 1.057 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.483, allocations: 8.641 kB / 1.057 GB, free: 10.09 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches