Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008022/0.008022, allocations: 95.83 kB / 15.73 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.001924/0.001925, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.372/1.372, 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 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 68.17 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2573, allocations: 140.4 MB / 1.088 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006141/0.2635, allocations: 4.157 MB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.2672, allocations: 2.414 MB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.2677, allocations: 12 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.2695, allocations: 0.5402 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.2702, allocations: 254 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.2705, allocations: 135.9 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008942/0.2714, allocations: 0.8123 MB / 1.096 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.2718, allocations: 322.5 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.2723, allocations: 294.9 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.2727, allocations: 330.6 kB / 1.097 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.2728, allocations: 80 kB / 1.097 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.2729, allocations: 72 kB / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2731, allocations: 171.4 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.2736, allocations: 386.2 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009217/0.2745, allocations: 0.9962 MB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2745, allocations: 0 / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2745, allocations: 0 / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.498e-05/0.2746, allocations: 3.938 kB / 1.098 GB, free: 7.039 MB / 0.8575 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.001548/0.2761, allocations: 0.9652 MB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2762, allocations: 12.03 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.8e-05/0.2763, allocations: 82.7 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2764, allocations: 80.47 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.2771, allocations: 465.9 kB / 1.1 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.2771, allocations: 41.36 kB / 1.1 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.2772, allocations: 48.38 kB / 1.1 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.278, allocations: 430.6 kB / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.278, allocations: 3.938 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.278, allocations: 20 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2781, allocations: 12 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.2787, allocations: 367.8 kB / 1.101 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.2807, allocations: 1.517 MB / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.2813, allocations: 348.7 kB / 1.102 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.2818, allocations: 332.2 kB / 1.103 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2818, allocations: 7.938 kB / 1.103 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2818, allocations: 42.56 kB / 1.103 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.2818, allocations: 0 / 1.103 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.0009217/0.2828, allocations: 0.4895 MB / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2828, allocations: 55.41 kB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.2833, allocations: 485.9 kB / 1.104 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2834, allocations: 33.7 kB / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2835, allocations: 276.7 kB / 1.104 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2837, allocations: 162.6 kB / 1.104 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.2838, allocations: 58.08 kB / 1.104 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2839, allocations: 358.8 kB / 1.105 GB, free: 168 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.2842, allocations: 128.7 kB / 1.105 GB, free: 40 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2844, allocations: 125.2 kB / 1.105 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.2849, allocations: 302 kB / 1.105 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2849, allocations: 0 / 1.105 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006567/0.2856, allocations: 404.7 kB / 1.106 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2856, allocations: 4 kB / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2856, allocations: 0 / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2856, allocations: 4 kB / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.2862, allocations: 127.8 kB / 1.106 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2862, allocations: 4 kB / 1.106 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.2864, allocations: 43.66 kB / 1.106 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.2865, allocations: 12 kB / 1.106 GB, free: 15.03 MB / 0.8731 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.0002299/0.2867, allocations: 193.7 kB / 1.106 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.2868, allocations: 55.61 kB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.2869, allocations: 65.09 kB / 1.106 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2869, allocations: 7.938 kB / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2869, allocations: 0 / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2869, allocations: 3.984 kB / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.2876, allocations: 0.5752 MB / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2876, allocations: 3.938 kB / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.2882, allocations: 127.8 kB / 1.107 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.2882, allocations: 4 kB / 1.107 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.2882, allocations: 4 kB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2882, allocations: 4 kB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2882, allocations: 0 / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.2892, allocations: 0.6526 MB / 1.107 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2894, allocations: 144.6 kB / 1.108 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.2895, allocations: 12 kB / 1.108 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2897, allocations: 8 kB / 1.108 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2898, allocations: 27.95 kB / 1.108 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2898, allocations: 4 kB / 1.108 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003833/0.2902, allocations: 355.1 kB / 1.108 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2902, allocations: 4 kB / 1.108 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003925/0.2906, allocations: 143.7 kB / 1.108 GB, free: 12.56 MB / 0.8731 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.00127/0.2919, allocations: 1.211 MB / 1.109 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006185/0.2925, allocations: 323.6 kB / 1.11 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2925, allocations: 0 / 1.11 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.2928, allocations: 176.2 kB / 1.11 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.2935, allocations: 123.6 kB / 1.11 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.2997, allocations: 4.878 MB / 1.115 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3001, allocations: 0.8626 MB / 1.115 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.3003, allocations: 52.39 kB / 1.116 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.3006, allocations: 191.4 kB / 1.116 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.3006, allocations: 3.938 kB / 1.116 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.3332, allocations: 11.44 MB / 1.127 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.493, allocations: 14.77 kB / 1.127 GB, free: 9.484 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches