Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_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_10_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.00653/0.00653, allocations: 101.9 kB / 15.74 MB, free: 6.039 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.001415/0.001416, allocations: 202 kB / 16.68 MB, free: 5.965 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.542/2.542, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2766, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004237/0.2809, allocations: 3.053 MB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003291/0.2842, allocations: 2.141 MB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.2846, allocations: 8 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.2864, allocations: 0.5014 MB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.2868, allocations: 154.8 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.287, allocations: 59.94 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.2877, allocations: 445.9 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.2881, allocations: 151.2 kB / 1.173 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.2884, allocations: 151.4 kB / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.2887, allocations: 183.2 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.2887, allocations: 36 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.2888, allocations: 36 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.2889, allocations: 99.61 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.2892, allocations: 215 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.2897, allocations: 0.5487 MB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2898, allocations: 3.938 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2898, allocations: 0 / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.2898, allocations: 0 / 1.174 GB, free: 15.5 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001126/0.2909, allocations: 0.716 MB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.291, allocations: 8.031 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.291, allocations: 62.66 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.2911, allocations: 44.66 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.2917, allocations: 386.4 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2917, allocations: 16.81 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.2918, allocations: 24.38 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.2922, allocations: 203.4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2922, allocations: 4 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.2922, allocations: 8 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2923, allocations: 4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.2926, allocations: 165.6 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2938, allocations: 0.8626 MB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.2941, allocations: 154.5 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.2943, allocations: 114.9 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2944, allocations: 8 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2944, allocations: 30.56 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.2944, allocations: 0 / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0005783/0.295, allocations: 255.1 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.295, allocations: 55.41 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.2955, allocations: 421.7 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2955, allocations: 33.64 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2956, allocations: 208.3 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.2957, allocations: 67.42 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.2958, allocations: 33.72 kB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2959, allocations: 346.8 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.296, allocations: 55.95 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2962, allocations: 63.97 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2965, allocations: 127.1 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2965, allocations: 7.984 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003646/0.2969, allocations: 203.2 kB / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2969, allocations: 11.98 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.2969, allocations: 3.938 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2969, allocations: 0 / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2972, allocations: 59.91 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2972, allocations: 4 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2973, allocations: 19.83 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2973, allocations: 8 kB / 1.178 GB, free: 10.52 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 (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.0001446/0.2975, allocations: 163.8 kB / 1.179 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.2976, allocations: 39.7 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.438e-05/0.2976, allocations: 47.52 kB / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2977, allocations: 8 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2977, allocations: 0 / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2977, allocations: 0 / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.2981, allocations: 377.2 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2981, allocations: 0 / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.2983, allocations: 55.95 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2983, allocations: 0 / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2984, allocations: 7.938 kB / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2984, allocations: 0 / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2984, allocations: 4 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.2989, allocations: 381 kB / 1.179 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2991, allocations: 120.8 kB / 1.18 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.2991, allocations: 11.94 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2993, allocations: 8 kB / 1.18 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2993, allocations: 7.984 kB / 1.18 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2994, allocations: 12.05 kB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003093/0.2997, allocations: 299.2 kB / 1.18 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2997, allocations: 4 kB / 1.18 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003017/0.3, allocations: 67.89 kB / 1.18 GB, free: 8.852 MB / 0.9356 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.0008363/0.3008, allocations: 0.9268 MB / 1.181 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3012, allocations: 149.8 kB / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3012, allocations: 0 / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3014, allocations: 79.91 kB / 1.181 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.3019, allocations: 100.5 kB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.3061, allocations: 3.493 MB / 1.185 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3065, allocations: 0.8029 MB / 1.185 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.3066, allocations: 42.89 kB / 1.185 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.3068, allocations: 111.4 kB / 1.185 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.3068, allocations: 0 / 1.185 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.3342, allocations: 7.992 MB / 1.193 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.461, allocations: 9.094 kB / 1.193 GB, free: 11.3 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches