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.007055/0.007055, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001686/0.001686, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.415/2.415, allocations: 437 MB / 0.7105 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 1.018 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7138, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005257/0.7191, allocations: 4.165 MB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.7229, allocations: 2.413 MB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.7237, allocations: 15.94 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.7258, allocations: 0.5275 MB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007663/0.7266, allocations: 254 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.7269, allocations: 155.7 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.7282, allocations: 0.807 MB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.7288, allocations: 318.5 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.7293, allocations: 298.9 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.7298, allocations: 334.6 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.7299, allocations: 72 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.7301, allocations: 76 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.7303, allocations: 167.5 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.7308, allocations: 386.2 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009686/0.7317, allocations: 0.9894 MB / 1.177 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.7318, allocations: 3.984 kB / 1.177 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7318, allocations: 0 / 1.177 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.871e-05/0.7318, allocations: 7.938 kB / 1.177 GB, free: 8.758 MB / 0.9044 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.001692/0.7335, allocations: 0.9691 MB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.7336, allocations: 8.625 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.7337, allocations: 90.7 kB / 1.178 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.7338, allocations: 76.47 kB / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.7345, allocations: 462 kB / 1.178 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.7346, allocations: 37.38 kB / 1.178 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.7347, allocations: 48.38 kB / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.7354, allocations: 430.6 kB / 1.179 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.7354, allocations: 7.938 kB / 1.179 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.7355, allocations: 20 kB / 1.179 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.7355, allocations: 12 kB / 1.179 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.7362, allocations: 367.8 kB / 1.179 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.7384, allocations: 1.52 MB / 1.181 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.7389, allocations: 342.7 kB / 1.181 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.7394, allocations: 324.8 kB / 1.181 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.7394, allocations: 11.94 kB / 1.181 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.7394, allocations: 34.56 kB / 1.181 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=42): time 3.917e-06/0.7394, allocations: 0 / 1.181 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42): time 0.0009742/0.7404, allocations: 0.5011 MB / 1.182 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.7405, allocations: 55.41 kB / 1.182 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.741, allocations: 485.9 kB / 1.182 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.741, allocations: 33.7 kB / 1.183 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.7412, allocations: 280.7 kB / 1.183 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.7413, allocations: 154.6 kB / 1.183 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.513e-05/0.7414, allocations: 62.08 kB / 1.183 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7416, allocations: 362.7 kB / 1.183 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.7418, allocations: 124.7 kB / 1.183 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.742, allocations: 125.2 kB / 1.184 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.7425, allocations: 302.4 kB / 1.184 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7426, allocations: 0 / 1.184 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000643/0.7432, allocations: 400.5 kB / 1.184 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7432, allocations: 4 kB / 1.184 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7432, allocations: 0 / 1.184 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7433, allocations: 4 kB / 1.184 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.7438, allocations: 131.9 kB / 1.184 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7438, allocations: 0 / 1.184 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.744, allocations: 35.72 kB / 1.184 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.7441, allocations: 12 kB / 1.184 GB, free: 0.7695 MB / 0.9044 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.0002284/0.7443, allocations: 197.8 kB / 1.185 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.7444, allocations: 55.61 kB / 1.185 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.7445, allocations: 61.05 kB / 1.185 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7445, allocations: 8 kB / 1.185 GB, free: 448 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7445, allocations: 0 / 1.185 GB, free: 448 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7445, allocations: 3.984 kB / 1.185 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.7452, allocations: 0.579 MB / 1.185 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.7452, allocations: 3.938 kB / 1.185 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.7457, allocations: 123.9 kB / 1.185 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.7458, allocations: 0 / 1.185 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.7458, allocations: 12 kB / 1.185 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.7458, allocations: 0 / 1.185 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7458, allocations: 4 kB / 1.185 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.7468, allocations: 0.6445 MB / 1.186 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.7469, allocations: 140.7 kB / 1.186 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.747, allocations: 4 kB / 1.186 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.7473, allocations: 15.98 kB / 1.186 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.7473, allocations: 27.97 kB / 1.186 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.7473, allocations: 8 kB / 1.186 GB, free: 14.79 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003949/0.7477, allocations: 359 kB / 1.187 GB, free: 14.45 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7478, allocations: 0 / 1.187 GB, free: 14.45 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004291/0.7482, allocations: 143.7 kB / 1.187 GB, free: 14.3 MB / 0.92 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.001203/0.7494, allocations: 1.219 MB / 1.188 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.75, allocations: 319.7 kB / 1.188 GB, free: 12.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.75, allocations: 0 / 1.188 GB, free: 12.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.7503, allocations: 180.2 kB / 1.188 GB, free: 12.57 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.751, allocations: 137.9 kB / 1.189 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/0.757, allocations: 4.862 MB / 1.193 GB, free: 7.492 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.7574, allocations: 0.8743 MB / 1.194 GB, free: 6.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.7576, allocations: 56.33 kB / 1.194 GB, free: 6.531 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.7579, allocations: 187.4 kB / 1.194 GB, free: 6.348 MB / 0.92 GB Notification: Performance of SimCode: time 6.42e-07/0.7579, allocations: 4 kB / 1.194 GB, free: 6.344 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.7908, allocations: 11.46 MB / 1.206 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/9.042, allocations: 13.25 kB / 1.206 GB, free: 11.19 MB / 0.9356 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