Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001808/0.001808, 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.001962/0.001963, allocations: 194.6 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7629, allocations: 140.4 MB / 0.9498 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004157/0.7671, allocations: 3.029 MB / 0.9527 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.7695, allocations: 2.148 MB / 0.9548 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.7698, allocations: 5.062 kB / 0.9548 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.7713, allocations: 0.4956 MB / 0.9553 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.7716, allocations: 149.1 kB / 0.9554 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.7717, allocations: 61.77 kB / 0.9555 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.7722, allocations: 443.8 kB / 0.9559 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.7725, allocations: 157.9 kB / 0.9561 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.7727, allocations: 160.3 kB / 0.9562 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.7729, allocations: 174.5 kB / 0.9564 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.773, allocations: 39.09 kB / 0.9564 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.7731, allocations: 34.41 kB / 0.9565 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.7732, allocations: 99.06 kB / 0.9566 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.7734, allocations: 221.9 kB / 0.9568 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.7738, allocations: 0.539 MB / 0.9573 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7738, allocations: 9.406 kB / 0.9573 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7738, allocations: 0 / 0.9573 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7738, allocations: 0 / 0.9573 GB, free: 3.547 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008382/0.7746, allocations: 0.6922 MB / 0.958 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.7747, allocations: 13.62 kB / 0.958 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.7747, allocations: 57.61 kB / 0.958 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.7748, allocations: 46.38 kB / 0.9581 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.7752, allocations: 366.8 kB / 0.9584 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7752, allocations: 18.44 kB / 0.9585 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.7753, allocations: 24.73 kB / 0.9585 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.7756, allocations: 207.4 kB / 0.9587 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7756, allocations: 0 / 0.9587 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.7757, allocations: 13.66 kB / 0.9587 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.7757, allocations: 9.219 kB / 0.9587 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.7761, allocations: 164.6 kB / 0.9589 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.7771, allocations: 0.8636 MB / 0.9597 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.7774, allocations: 157.6 kB / 0.9599 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.7776, allocations: 119.1 kB / 0.96 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.7776, allocations: 1.875 kB / 0.96 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.7776, allocations: 32 kB / 0.96 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.7776, allocations: 0 / 0.96 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005517/0.7782, allocations: 261.5 kB / 0.9603 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.7782, allocations: 53.91 kB / 0.9603 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.7786, allocations: 420.3 kB / 0.9607 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.7787, allocations: 30.83 kB / 0.9607 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.7788, allocations: 204.9 kB / 0.9609 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.7788, allocations: 65.97 kB / 0.961 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.7789, allocations: 28.41 kB / 0.961 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.7789, allocations: 351.8 kB / 0.9614 GB, free: 244 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.7791, allocations: 61.27 kB / 0.9614 GB, free: 212 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.7792, allocations: 64.8 kB / 0.9615 GB, free: 180 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.7795, allocations: 126.8 kB / 0.9616 GB, free: 116 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7795, allocations: 0 / 0.9616 GB, free: 116 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003738/0.7799, allocations: 213.9 kB / 0.9618 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7799, allocations: 6.531 kB / 0.9618 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7799, allocations: 5.031 kB / 0.9618 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.78, allocations: 5.312 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.7802, allocations: 52.33 kB / 0.9619 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.7802, allocations: 5.953 kB / 0.9619 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.7804, allocations: 17.88 kB / 0.9619 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.7804, allocations: 6.688 kB / 0.9619 GB, free: 15.95 MB / 0.7325 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 (20): * Single equations (assignments): 20 * 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.0001536/0.7806, allocations: 166.4 kB / 0.9621 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.7806, allocations: 32.09 kB / 0.9621 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.7807, allocations: 52.05 kB / 0.9621 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7807, allocations: 2.562 kB / 0.9621 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7807, allocations: 0 / 0.9621 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7807, allocations: 0 / 0.9621 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.7811, allocations: 374.4 kB / 0.9625 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7811, allocations: 0 / 0.9625 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.7814, allocations: 57.2 kB / 0.9625 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7814, allocations: 6.625 kB / 0.9626 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7814, allocations: 3.938 kB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.7814, allocations: 2.469 kB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7814, allocations: 4 kB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.782, allocations: 373.6 kB / 0.9629 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.7821, allocations: 115 kB / 0.963 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.7822, allocations: 10.42 kB / 0.963 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.7824, allocations: 10.84 kB / 0.963 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.7824, allocations: 14.48 kB / 0.9631 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.7824, allocations: 6.406 kB / 0.9631 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003165/0.7828, allocations: 302.2 kB / 0.9634 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7828, allocations: 0 / 0.9634 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003316/0.7831, allocations: 72.53 kB / 0.9634 GB, free: 14.79 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0008793/0.784, allocations: 0.9223 MB / 0.9643 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.7844, allocations: 156.7 kB / 0.9645 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7844, allocations: 0.9375 kB / 0.9645 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.7846, allocations: 76.44 kB / 0.9646 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.7852, allocations: 100.4 kB / 0.9646 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.7897, allocations: 3.546 MB / 0.9681 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.7902, allocations: 0.7926 MB / 0.9689 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.7903, allocations: 38.62 kB / 0.9689 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.7905, allocations: 116.7 kB / 0.969 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of SimCode: time 6.72e-07/0.7906, allocations: 0 / 0.969 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.8211, allocations: 7.841 MB / 0.9767 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.609, allocations: 0.875 kB / 0.9767 GB, free: 6.117 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches