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.006902/0.006902, allocations: 105.1 kB / 15.73 MB, free: 6.043 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.001607/0.001607, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.43/2.43, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2631, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005113/0.2682, allocations: 4.153 MB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.2719, allocations: 2.42 MB / 1.173 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.2725, allocations: 8 kB / 1.173 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.2744, allocations: 0.5333 MB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.2753, allocations: 250.1 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2757, allocations: 139.8 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2769, allocations: 0.8213 MB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005498/0.2774, allocations: 322.5 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.278, allocations: 291 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005277/0.2785, allocations: 326.6 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.2787, allocations: 72 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.2789, allocations: 79.94 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.2791, allocations: 171.4 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.2797, allocations: 386.3 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009967/0.2807, allocations: 0.9966 MB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2807, allocations: 0 / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2807, allocations: 0 / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.293e-05/0.2807, allocations: 4 kB / 1.177 GB, free: 12.27 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.001649/0.2824, allocations: 0.9462 MB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2824, allocations: 8.031 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.2825, allocations: 94.64 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.2827, allocations: 79.94 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.2834, allocations: 461.7 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.2834, allocations: 37.38 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.2835, allocations: 44.38 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.2842, allocations: 430.6 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2842, allocations: 0 / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.2843, allocations: 19.98 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2843, allocations: 12 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.285, allocations: 371.8 kB / 1.179 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.287, allocations: 1.52 MB / 1.181 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.2875, allocations: 343.7 kB / 1.181 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.2879, allocations: 312.8 kB / 1.181 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.288, allocations: 7.938 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.288, allocations: 38.56 kB / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=42): time 1.914e-06/0.288, allocations: 0 / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42): time 0.00089/0.2889, allocations: 0.4969 MB / 1.182 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2889, allocations: 59.41 kB / 1.182 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.2895, allocations: 481.9 kB / 1.182 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.2895, allocations: 33.7 kB / 1.182 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2897, allocations: 281.1 kB / 1.183 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.2898, allocations: 145.8 kB / 1.183 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/0.2899, allocations: 58.08 kB / 1.183 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2901, allocations: 362.8 kB / 1.183 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.2903, allocations: 124.7 kB / 1.183 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.2905, allocations: 125.2 kB / 1.184 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.291, allocations: 298.4 kB / 1.184 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.291, allocations: 3.938 kB / 1.184 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006449/0.2917, allocations: 396.2 kB / 1.184 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2917, allocations: 10.34 kB / 1.184 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.2917, allocations: 0 / 1.184 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2918, allocations: 4 kB / 1.184 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.2922, allocations: 127.9 kB / 1.184 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2923, allocations: 0 / 1.184 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2925, allocations: 39.58 kB / 1.184 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2925, allocations: 8 kB / 1.184 GB, free: 4.328 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.0002193/0.2928, allocations: 201.8 kB / 1.185 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.2929, allocations: 55.28 kB / 1.185 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.293, allocations: 61.11 kB / 1.185 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.293, allocations: 4 kB / 1.185 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.293, allocations: 0 / 1.185 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.293, allocations: 3.984 kB / 1.185 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.2936, allocations: 0.5635 MB / 1.185 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.2936, allocations: 7.875 kB / 1.185 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/0.2941, allocations: 131.8 kB / 1.185 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.2941, allocations: 0 / 1.185 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.2942, allocations: 15.94 kB / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2942, allocations: 0 / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2942, allocations: 0 / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.2951, allocations: 0.6479 MB / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2952, allocations: 148.3 kB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.2953, allocations: 4 kB / 1.186 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2955, allocations: 15.98 kB / 1.186 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.2956, allocations: 27.69 kB / 1.186 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2956, allocations: 12 kB / 1.186 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003605/0.296, allocations: 347.1 kB / 1.187 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.296, allocations: 0 / 1.187 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003833/0.2964, allocations: 143.7 kB / 1.187 GB, free: 1.871 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.001175/0.2976, allocations: 1.207 MB / 1.188 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005686/0.2981, allocations: 320.4 kB / 1.188 GB, free: 332 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2981, allocations: 4 kB / 1.188 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.2984, allocations: 183.6 kB / 1.188 GB, free: 144 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.2991, allocations: 142.6 kB / 1.188 GB, free: 4 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006141/0.3052, allocations: 4.839 MB / 1.193 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3056, allocations: 0.8704 MB / 1.194 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001931/0.3058, allocations: 64.38 kB / 1.194 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.3061, allocations: 187.4 kB / 1.194 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.3061, allocations: 0 / 1.194 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3369, allocations: 11.46 MB / 1.205 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.325, allocations: 15.53 kB / 1.206 GB, free: 14.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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