Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.008463/0.008463, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001754/0.001754, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.373/2.373, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 70.77 kB / 0.9504 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2849, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003671/0.2886, allocations: 2.25 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.2923, allocations: 2.393 MB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.2925, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.2942, allocations: 498.8 kB / 1.093 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.2946, allocations: 99.34 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.295, allocations: 98.42 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.2963, allocations: 0.8538 MB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.2964, allocations: 40.28 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.297, allocations: 275.5 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.2976, allocations: 335.2 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.2977, allocations: 56 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2979, allocations: 56 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.2981, allocations: 219.5 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.2986, allocations: 286.9 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007739/0.2994, allocations: 0.7321 MB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2994, allocations: 0 / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2994, allocations: 0 / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.2994, allocations: 0 / 1.095 GB, free: 9.805 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002591/0.302, allocations: 0.933 MB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3021, allocations: 12.03 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.3022, allocations: 50.73 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3024, allocations: 40.47 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.304, allocations: 0.5147 MB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.304, allocations: 24.38 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3042, allocations: 44.28 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3045, allocations: 213.9 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3045, allocations: 0 / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3046, allocations: 4 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3046, allocations: 4 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3049, allocations: 175.9 kB / 1.097 GB, free: 7.691 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.3097, allocations: 1.432 MB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.3115, allocations: 0.5863 MB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.3118, allocations: 140.8 kB / 1.1 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3118, allocations: 4 kB / 1.1 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3118, allocations: 34.5 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/0.3118, allocations: 4 kB / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001152/0.313, allocations: 0.546 MB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.313, allocations: 55.27 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.3135, allocations: 405.3 kB / 1.101 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.3136, allocations: 37.7 kB / 1.101 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3138, allocations: 165.2 kB / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3139, allocations: 102.5 kB / 1.101 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3141, allocations: 146.3 kB / 1.101 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3143, allocations: 350.8 kB / 1.101 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.3149, allocations: 337.1 kB / 1.102 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.3155, allocations: 401.5 kB / 1.102 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.3164, allocations: 0.5685 MB / 1.103 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3165, allocations: 3.938 kB / 1.103 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001567/0.318, allocations: 0.917 MB / 1.103 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.3181, allocations: 37.69 kB / 1.103 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3181, allocations: 0 / 1.103 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.3183, allocations: 28.84 kB / 1.104 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.3192, allocations: 155.8 kB / 1.104 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.3204, allocations: 1.414 MB / 1.105 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.3221, allocations: 115.2 kB / 1.105 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.3222, allocations: 27.92 kB / 1.105 GB, free: 15.39 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.3224, allocations: 181.7 kB / 1.105 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.3225, allocations: 31.66 kB / 1.105 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.906e-05/0.3226, allocations: 43.48 kB / 1.105 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3226, allocations: 7.922 kB / 1.105 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3226, allocations: 0 / 1.105 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3226, allocations: 7.938 kB / 1.105 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.3231, allocations: 464.9 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3232, allocations: 0 / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.3235, allocations: 47.95 kB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.3236, allocations: 28.84 kB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3236, allocations: 8 kB / 1.106 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.3247, allocations: 1.418 MB / 1.107 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3247, allocations: 0 / 1.107 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.3255, allocations: 0.5961 MB / 1.108 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3257, allocations: 120.6 kB / 1.108 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3257, allocations: 11.98 kB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/0.3264, allocations: 19.97 kB / 1.108 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.3265, allocations: 23.97 kB / 1.108 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3265, allocations: 4 kB / 1.108 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002602/0.3268, allocations: 259.2 kB / 1.108 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3268, allocations: 0 / 1.108 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006942/0.3275, allocations: 247.8 kB / 1.109 GB, free: 11.65 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/0.3287, allocations: 1.145 MB / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.3299, allocations: 0.7398 MB / 1.11 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3299, allocations: 0 / 1.11 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.3303, allocations: 266.5 kB / 1.111 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.331, allocations: 98.8 kB / 1.111 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.3384, allocations: 5.47 MB / 1.116 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3388, allocations: 0.8077 MB / 1.117 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003054/0.3391, allocations: 111.2 kB / 1.117 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.3394, allocations: 123.4 kB / 1.117 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.3394, allocations: 0 / 1.117 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.3756, allocations: 12.15 MB / 1.129 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.22, allocations: 8.125 kB / 1.129 GB, free: 6.844 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 144 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches