Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00149/0.00149, 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.001463/0.001463, allocations: 195 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 62.09 kB / 0.9083 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 159.1 MB / 1.064 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004922/0.3516, allocations: 3.048 MB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.3549, allocations: 2.141 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.3553, allocations: 4 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3571, allocations: 0.4977 MB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.3576, allocations: 142.8 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3578, allocations: 63.92 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.3585, allocations: 444.1 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.3588, allocations: 151.2 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.3591, allocations: 163.2 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3594, allocations: 175.2 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.3595, allocations: 36 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.3595, allocations: 35.94 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.3597, allocations: 103.6 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.3599, allocations: 215 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.3605, allocations: 0.5372 MB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3605, allocations: 11.98 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3605, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.3605, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 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.001156/0.3617, allocations: 0.7006 MB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3617, allocations: 12.03 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.067e-05/0.3618, allocations: 54.73 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.332e-05/0.3619, allocations: 44.38 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.3624, allocations: 374.1 kB / 1.072 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3624, allocations: 16.81 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.3625, allocations: 20.38 kB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.3629, allocations: 203.4 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3629, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.3629, allocations: 4 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.363, allocations: 8 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.3633, allocations: 173.6 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3646, allocations: 0.8701 MB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.3649, allocations: 158.4 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.3651, allocations: 114.6 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3652, allocations: 4 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3652, allocations: 34.56 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.3652, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006301/0.3659, allocations: 258.8 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3659, allocations: 55.41 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.3664, allocations: 421.6 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3664, allocations: 29.7 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3665, allocations: 208.2 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.3666, allocations: 63.05 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.3667, allocations: 33.7 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3668, allocations: 350.8 kB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.367, allocations: 51.97 kB / 1.075 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3671, allocations: 55.97 kB / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3674, allocations: 140.2 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3674, allocations: 0 / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003977/0.3678, allocations: 205.1 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3679, allocations: 4 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3679, allocations: 7.875 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3679, allocations: 3.938 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.3681, allocations: 55.97 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3682, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3683, allocations: 15.89 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3684, allocations: 4 kB / 1.076 GB, free: 1.723 MB / 0.8262 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.0001579/0.3685, allocations: 169.7 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.3686, allocations: 39.53 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.3687, allocations: 43.53 kB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3687, allocations: 4 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3687, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3687, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.3691, allocations: 377.3 kB / 1.076 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3691, allocations: 0 / 1.076 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.3694, allocations: 51.97 kB / 1.076 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3694, allocations: 0 / 1.076 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3694, allocations: 7.938 kB / 1.076 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3695, allocations: 7.938 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3695, allocations: 0 / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.3701, allocations: 380.2 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3702, allocations: 116.6 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.3703, allocations: 11.94 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3704, allocations: 7.984 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3705, allocations: 11.98 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3705, allocations: 12.06 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003177/0.3708, allocations: 303.2 kB / 1.077 GB, free: 116 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3708, allocations: 0 / 1.077 GB, free: 116 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003239/0.3712, allocations: 71.84 kB / 1.077 GB, free: 44 kB / 0.8262 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.0009208/0.3721, allocations: 0.9271 MB / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.3725, allocations: 159.8 kB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3725, allocations: 0 / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3727, allocations: 79.81 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.3733, allocations: 102.4 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.3781, allocations: 3.538 MB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.3785, allocations: 0.7951 MB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.3787, allocations: 34.95 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.3789, allocations: 115.4 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of SimCode: time 6.61e-07/0.3789, allocations: 0 / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.4112, allocations: 7.853 MB / 1.091 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.931, allocations: 13.25 kB / 1.091 GB, free: 2.578 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches