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.001443/0.001443, allocations: 112.5 kB / 15.73 MB, free: 76 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.001714/0.001715, allocations: 193.1 kB / 16.66 MB, free: 6.582 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.562/2.562, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2517, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005031/0.2568, allocations: 4.161 MB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.2604, allocations: 2.402 MB / 1.173 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005613/0.261, allocations: 12 kB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.2629, allocations: 0.5475 MB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008391/0.2638, allocations: 254 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.2642, allocations: 139.9 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2653, allocations: 0.8136 MB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.2657, allocations: 322.5 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.2662, allocations: 298.9 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.2667, allocations: 326.6 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2668, allocations: 76 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2669, allocations: 72 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2671, allocations: 171.4 kB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.2675, allocations: 378.3 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009081/0.2684, allocations: 1.004 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2684, allocations: 0 / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2684, allocations: 0 / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.513e-05/0.2685, allocations: 0 / 1.177 GB, free: 12.29 MB / 0.9356 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.001596/0.2701, allocations: 0.9691 MB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2701, allocations: 12.03 kB / 1.178 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.389e-05/0.2702, allocations: 90.7 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.2703, allocations: 76.47 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.271, allocations: 465.9 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.271, allocations: 37.38 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.2711, allocations: 48.38 kB / 1.179 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.2719, allocations: 434.6 kB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2719, allocations: 3.953 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.272, allocations: 20 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.272, allocations: 12 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.2727, allocations: 363.8 kB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.2748, allocations: 1.524 MB / 1.181 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.2753, allocations: 343.7 kB / 1.181 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.2758, allocations: 316.8 kB / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2758, allocations: 15.92 kB / 1.181 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2758, allocations: 34.56 kB / 1.181 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=42): time 1.913e-06/0.2758, allocations: 0 / 1.181 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42): time 0.0009273/0.2768, allocations: 0.4934 MB / 1.182 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.2768, allocations: 55.41 kB / 1.182 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.2774, allocations: 485.9 kB / 1.182 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.2774, allocations: 33.7 kB / 1.183 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.2776, allocations: 284.6 kB / 1.183 GB, free: 6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2778, allocations: 158.7 kB / 1.183 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2779, allocations: 58.84 kB / 1.183 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.278, allocations: 358.8 kB / 1.183 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.2783, allocations: 120.7 kB / 1.183 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2785, allocations: 137.2 kB / 1.184 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.279, allocations: 290.4 kB / 1.184 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.279, allocations: 3.938 kB / 1.184 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000653/0.2797, allocations: 396.5 kB / 1.184 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2797, allocations: 7.938 kB / 1.184 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2797, allocations: 7.984 kB / 1.184 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2798, allocations: 0 / 1.184 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.2803, allocations: 127.9 kB / 1.184 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2803, allocations: 0 / 1.184 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.2805, allocations: 43.67 kB / 1.184 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2806, allocations: 12 kB / 1.184 GB, free: 4.289 MB / 0.9356 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.0002196/0.2808, allocations: 189.8 kB / 1.185 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.2809, allocations: 59.61 kB / 1.185 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.281, allocations: 61.09 kB / 1.185 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.281, allocations: 4 kB / 1.185 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.281, allocations: 4 kB / 1.185 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.281, allocations: 0 / 1.185 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.2817, allocations: 0.5713 MB / 1.185 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2817, allocations: 3.938 kB / 1.185 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.2822, allocations: 131.7 kB / 1.185 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.2822, allocations: 4 kB / 1.185 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.2823, allocations: 8 kB / 1.185 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.2823, allocations: 7.984 kB / 1.185 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2823, allocations: 0 / 1.185 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.2833, allocations: 0.6443 MB / 1.186 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.2834, allocations: 144.6 kB / 1.186 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.2835, allocations: 11.98 kB / 1.186 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.2837, allocations: 12 kB / 1.186 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.2838, allocations: 23.75 kB / 1.186 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.2838, allocations: 16 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003821/0.2842, allocations: 359 kB / 1.187 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2842, allocations: 0 / 1.187 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004082/0.2846, allocations: 139.7 kB / 1.187 GB, free: 1.828 MB / 0.9356 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.001205/0.2859, allocations: 1.211 MB / 1.188 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006043/0.2865, allocations: 324.5 kB / 1.188 GB, free: 280 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2865, allocations: 0 / 1.188 GB, free: 280 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.2868, allocations: 187.5 kB / 1.188 GB, free: 92 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.2875, allocations: 134.2 kB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00639/0.2939, allocations: 4.873 MB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.2943, allocations: 0.8665 MB / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.2946, allocations: 52.38 kB / 1.194 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.2948, allocations: 187.4 kB / 1.194 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of SimCode: time 7.41e-07/0.2948, allocations: 0 / 1.194 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.88/2.175, allocations: 11.47 MB / 1.206 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/10.96, allocations: 17.45 kB / 1.206 GB, free: 14.69 MB / 0.9669 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