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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007876/0.007877, allocations: 96.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.71/2.71, allocations: 469.4 MB / 0.7421 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004005/0.3281, allocations: 3.055 MB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002687/0.3309, allocations: 2.137 MB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.3312, allocations: 7.938 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.3326, allocations: 0.5015 MB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.3329, allocations: 146.9 kB / 1.226 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.3331, allocations: 59.94 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.3336, allocations: 449.8 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.3339, allocations: 155.2 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.3341, allocations: 159.3 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.3344, allocations: 183.1 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.3344, allocations: 36 kB / 1.226 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.3345, allocations: 32 kB / 1.227 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3346, allocations: 95.67 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.3348, allocations: 222.9 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.3354, allocations: 0.5486 MB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3354, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3354, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.3354, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 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.001054/0.3365, allocations: 0.7083 MB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3365, allocations: 8.031 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.3366, allocations: 58.72 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.3367, allocations: 44.66 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.3372, allocations: 386.4 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3372, allocations: 16.81 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.3373, allocations: 24.38 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.3377, allocations: 199.4 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3378, allocations: 4 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.3378, allocations: 8 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3378, allocations: 4 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.3382, allocations: 165.7 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3393, allocations: 0.8663 MB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.3397, allocations: 162.6 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3399, allocations: 112.8 kB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3399, allocations: 0 / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3399, allocations: 38.5 kB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.103e-06/0.34, allocations: 0 / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0006117/0.3406, allocations: 267.4 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3406, allocations: 51.41 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.3411, allocations: 417.7 kB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3411, allocations: 29.7 kB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3412, allocations: 204.3 kB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.3413, allocations: 71.42 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.3414, allocations: 29.72 kB / 1.231 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3415, allocations: 350.8 kB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3417, allocations: 51.97 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3418, allocations: 69.44 kB / 1.232 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3421, allocations: 130.7 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3421, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003872/0.3425, allocations: 209.4 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3425, allocations: 8 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3425, allocations: 3.938 kB / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3426, allocations: 0 / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.3428, allocations: 59.89 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3428, allocations: 4 kB / 1.232 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.343, allocations: 15.89 kB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.343, allocations: 7.984 kB / 1.232 GB, free: 1.852 MB / 0.9825 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.0001491/0.3432, allocations: 162.4 kB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.3432, allocations: 35.77 kB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.3433, allocations: 47.52 kB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3433, allocations: 4 kB / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3433, allocations: 0 / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3433, allocations: 0 / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.3437, allocations: 377.2 kB / 1.233 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3437, allocations: 3.938 kB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.344, allocations: 63.95 kB / 1.233 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.344, allocations: 4 kB / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.344, allocations: 3.938 kB / 1.233 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3441, allocations: 0 / 1.233 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3441, allocations: 4 kB / 1.233 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.3446, allocations: 377.1 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3448, allocations: 120.9 kB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.3448, allocations: 8 kB / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.345, allocations: 12 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.345, allocations: 7.984 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.345, allocations: 4 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003121/0.3454, allocations: 303.1 kB / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3454, allocations: 0 / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000307/0.3457, allocations: 71.89 kB / 1.234 GB, free: 188 kB / 0.9825 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.0008682/0.3466, allocations: 0.9285 MB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.3469, allocations: 143.9 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.347, allocations: 8 kB / 1.235 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3471, allocations: 81.94 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.3477, allocations: 89.48 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.352, allocations: 3.494 MB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3524, allocations: 0.7951 MB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.3525, allocations: 34.94 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3527, allocations: 115.4 kB / 1.239 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/0.3527, allocations: 4 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.3788, allocations: 8.014 MB / 1.247 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.208, allocations: 4.828 kB / 1.247 GB, free: 2.617 MB / 0.9981 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