Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00161/0.00161, allocations: 108 kB / 15.61 MB, free: 152 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.001767/0.001767, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.411/1.411, 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.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 64.42 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2714, allocations: 159.2 MB / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00581/0.2773, allocations: 4.151 MB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.2807, allocations: 2.422 MB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.281, allocations: 12 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.2826, allocations: 0.5246 MB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.2831, allocations: 250 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.2833, allocations: 135.9 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008817/0.2842, allocations: 0.8065 MB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.2847, allocations: 334.5 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.2851, allocations: 290.9 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.2855, allocations: 334.6 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2856, allocations: 72 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.2857, allocations: 79.94 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.2859, allocations: 171.4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.2863, allocations: 378.3 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008967/0.2872, allocations: 0.9928 MB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2872, allocations: 0 / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2872, allocations: 0 / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.2872, allocations: 4 kB / 1.075 GB, free: 3.16 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001514/0.2887, allocations: 0.9462 MB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2888, allocations: 12.03 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.2889, allocations: 86.7 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.289, allocations: 76.09 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.2896, allocations: 449.6 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.2897, allocations: 37.38 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.2897, allocations: 52.28 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.2905, allocations: 434.6 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2905, allocations: 4 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.2906, allocations: 20 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2906, allocations: 8 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.2913, allocations: 371.8 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.2934, allocations: 1.535 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.2939, allocations: 331.7 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.2944, allocations: 324.8 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2944, allocations: 7.938 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2945, allocations: 38.55 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 1.783e-06/0.2945, allocations: 0 / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.0009475/0.2954, allocations: 0.493 MB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2955, allocations: 63.39 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.2961, allocations: 485.9 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.2961, allocations: 29.7 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.2963, allocations: 276.4 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2965, allocations: 149.8 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2966, allocations: 62.08 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2967, allocations: 362.8 kB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.297, allocations: 124.7 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.2972, allocations: 125.5 kB / 1.081 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.2978, allocations: 302 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2978, allocations: 3.938 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006463/0.2984, allocations: 396.2 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2985, allocations: 4.766 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2985, allocations: 4 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2985, allocations: 4 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.299, allocations: 123.9 kB / 1.082 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.299, allocations: 3.938 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.2992, allocations: 35.58 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.2992, allocations: 12 kB / 1.082 GB, free: 11.21 MB / 0.8419 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.0002137/0.2994, allocations: 193.7 kB / 1.082 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.2995, allocations: 59.38 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2996, allocations: 61.09 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2996, allocations: 4 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2997, allocations: 0 / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.2997, allocations: 3.984 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.3003, allocations: 0.5712 MB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3003, allocations: 3.938 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.3008, allocations: 131.8 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3009, allocations: 4 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.3009, allocations: 12 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3009, allocations: 0 / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3009, allocations: 0 / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009806/0.3019, allocations: 0.6403 MB / 1.084 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.302, allocations: 148.3 kB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.3021, allocations: 8 kB / 1.084 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3023, allocations: 12 kB / 1.084 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.3024, allocations: 27.95 kB / 1.084 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3024, allocations: 8 kB / 1.084 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003983/0.3028, allocations: 351.1 kB / 1.084 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 0 / 1.084 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003757/0.3032, allocations: 135.7 kB / 1.085 GB, free: 8.762 MB / 0.8419 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.001335/0.3045, allocations: 1.215 MB / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006997/0.3052, allocations: 336 kB / 1.086 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3052, allocations: 4 kB / 1.086 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.3055, allocations: 184.1 kB / 1.086 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.3062, allocations: 131.5 kB / 1.086 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.3126, allocations: 5.029 MB / 1.091 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.3131, allocations: 0.8743 MB / 1.092 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.3133, allocations: 48.39 kB / 1.092 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.3136, allocations: 187.4 kB / 1.092 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of SimCode: time 1.924e-06/0.3136, allocations: 0 / 1.092 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.241/3.554, allocations: 11.23 MB / 1.103 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/14.74, allocations: 11.64 kB / 1.103 GB, free: 5.699 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches