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.007075/0.007075, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001867/0.001867, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.656/2.656, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 67.89 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2757, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005025/0.2808, allocations: 4.154 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.2838, allocations: 2.421 MB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.284, allocations: 12 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.2854, allocations: 0.5324 MB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.2858, allocations: 242.1 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.286, allocations: 143.8 kB / 1.228 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007762/0.2868, allocations: 0.8091 MB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.2872, allocations: 330.5 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.2875, allocations: 290.9 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.2879, allocations: 326.6 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-05/0.288, allocations: 76 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2881, allocations: 72 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.2882, allocations: 175.4 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.2886, allocations: 378.3 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008978/0.2895, allocations: 1.004 MB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2895, allocations: 4 kB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2895, allocations: 0 / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.2895, allocations: 0 / 1.231 GB, free: 3.262 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001347/0.2909, allocations: 0.973 MB / 1.232 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2909, allocations: 15.97 kB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.215e-05/0.291, allocations: 90.7 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2911, allocations: 76.47 kB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.2917, allocations: 462.1 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.2918, allocations: 37.38 kB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.2919, allocations: 52.33 kB / 1.233 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.2926, allocations: 434.5 kB / 1.233 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2926, allocations: 0 / 1.233 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.2927, allocations: 16 kB / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.2927, allocations: 12 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.2934, allocations: 371.8 kB / 1.233 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2953, allocations: 1.52 MB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.2959, allocations: 340.7 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.2963, allocations: 324.7 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2964, allocations: 8.625 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.2964, allocations: 38.5 kB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.2964, allocations: 0 / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0009297/0.2974, allocations: 0.4927 MB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2974, allocations: 63.19 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.2979, allocations: 485.9 kB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.298, allocations: 33.7 kB / 1.237 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2982, allocations: 276.7 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2983, allocations: 158.6 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.2984, allocations: 58.08 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2986, allocations: 358.8 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.2988, allocations: 128.7 kB / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.2991, allocations: 129.4 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.2996, allocations: 294.2 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2996, allocations: 0 / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006389/0.3002, allocations: 396.5 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3003, allocations: 6.344 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3003, allocations: 8 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3003, allocations: 0 / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.3008, allocations: 123.9 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3008, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.301, allocations: 43.72 kB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.301, allocations: 12 kB / 1.238 GB, free: 11.27 MB / 0.9981 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.0002082/0.3012, allocations: 197.6 kB / 1.239 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.3013, allocations: 63.61 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.3014, allocations: 57.11 kB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3015, allocations: 4 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3015, allocations: 0 / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3015, allocations: 7.922 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.3021, allocations: 0.5751 MB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3021, allocations: 3.938 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.3026, allocations: 123.9 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3026, allocations: 8 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.3027, allocations: 12 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3027, allocations: 4 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3027, allocations: 0 / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.3036, allocations: 0.6406 MB / 1.24 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3038, allocations: 140.7 kB / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.3038, allocations: 12 kB / 1.24 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.304, allocations: 19.92 kB / 1.24 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.3041, allocations: 19.97 kB / 1.24 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.3041, allocations: 12 kB / 1.24 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000384/0.3045, allocations: 351.1 kB / 1.241 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3045, allocations: 0 / 1.241 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003626/0.3049, allocations: 147.7 kB / 1.241 GB, free: 8.797 MB / 0.9981 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.001273/0.3062, allocations: 1.216 MB / 1.242 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005812/0.3068, allocations: 319.9 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3068, allocations: 4 kB / 1.242 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.3071, allocations: 187.7 kB / 1.242 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.3077, allocations: 131.7 kB / 1.243 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.3137, allocations: 4.856 MB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3142, allocations: 0.8743 MB / 1.248 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.3144, allocations: 52.39 kB / 1.248 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.3146, allocations: 187.4 kB / 1.248 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3147, allocations: 0 / 1.248 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.525/1.839, allocations: 11.45 MB / 1.26 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.74, allocations: 11.28 kB / 1.26 GB, free: 29.18 MB / 0.9981 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