Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_10_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_10_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.005534/0.005534, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001338/0.001338, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.63/2.63, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 68.09 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003826/0.3335, allocations: 2.248 MB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.3369, allocations: 2.398 MB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3371, allocations: 4 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.3387, allocations: 497.6 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.3389, allocations: 91.38 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.3393, allocations: 99.84 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.3403, allocations: 0.846 MB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3404, allocations: 40.28 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.3408, allocations: 279.5 kB / 1.173 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.3414, allocations: 339.1 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3415, allocations: 52 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3416, allocations: 56 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.3419, allocations: 223.4 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.3422, allocations: 282.9 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.343, allocations: 0.7358 MB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.343, allocations: 4 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.092e-06/0.343, allocations: 0 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.343, allocations: 0 / 1.174 GB, free: 15.1 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002465/0.3455, allocations: 0.9406 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3456, allocations: 12.03 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.3456, allocations: 46.73 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.3458, allocations: 44.66 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.3473, allocations: 0.5226 MB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.3473, allocations: 20.38 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.3474, allocations: 40.31 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.3478, allocations: 209.5 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3478, allocations: 0 / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3478, allocations: 4 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3479, allocations: 7.938 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.3482, allocations: 175.9 kB / 1.176 GB, free: 12.98 MB / 0.9356 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.004583/0.3528, allocations: 1.424 MB / 1.178 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.3545, allocations: 0.5944 MB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.3548, allocations: 140.8 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3548, allocations: 4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3549, allocations: 38.56 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 1.784e-06/0.3549, allocations: 0 / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001224/0.3561, allocations: 0.5486 MB / 1.179 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3561, allocations: 55.41 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.3566, allocations: 405.4 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-05/0.3567, allocations: 37.7 kB / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3569, allocations: 161.3 kB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.357, allocations: 99.16 kB / 1.18 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.3573, allocations: 154.3 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3574, allocations: 350.8 kB / 1.18 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.358, allocations: 337.1 kB / 1.18 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.3587, allocations: 405.5 kB / 1.181 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.3596, allocations: 0.5685 MB / 1.181 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3596, allocations: 0 / 1.181 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001644/0.3612, allocations: 0.9171 MB / 1.182 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.3613, allocations: 39.73 kB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3613, allocations: 0 / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.3615, allocations: 32.84 kB / 1.182 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.3623, allocations: 151.8 kB / 1.182 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.3636, allocations: 1.426 MB / 1.184 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.3653, allocations: 119.5 kB / 1.184 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.3654, allocations: 19.98 kB / 1.184 GB, free: 4.672 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 (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.0002403/0.3656, allocations: 181.7 kB / 1.184 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.3657, allocations: 31.77 kB / 1.184 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/0.3658, allocations: 43.47 kB / 1.184 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.3658, allocations: 7.938 kB / 1.184 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3658, allocations: 0 / 1.184 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3658, allocations: 0 / 1.184 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.3664, allocations: 465 kB / 1.185 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3664, allocations: 0 / 1.185 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3666, allocations: 43.91 kB / 1.185 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.3668, allocations: 32.84 kB / 1.185 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.3668, allocations: 15.97 kB / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.368, allocations: 1.422 MB / 1.186 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.368, allocations: 0 / 1.186 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/0.3689, allocations: 0.5985 MB / 1.187 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.369, allocations: 120.8 kB / 1.187 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.3691, allocations: 8 kB / 1.187 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.3697, allocations: 31.97 kB / 1.187 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.3698, allocations: 16.02 kB / 1.187 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.3698, allocations: 15.98 kB / 1.187 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002813/0.3701, allocations: 259.2 kB / 1.187 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3701, allocations: 0 / 1.187 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007243/0.3709, allocations: 239.9 kB / 1.187 GB, free: 0.9258 MB / 0.9356 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.001297/0.3722, allocations: 1.154 MB / 1.188 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.3736, allocations: 0.74 MB / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.3736, allocations: 0 / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.3739, allocations: 270.5 kB / 1.189 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.3746, allocations: 85.94 kB / 1.19 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/0.3824, allocations: 5.489 MB / 1.195 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.3829, allocations: 0.8155 MB / 1.196 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.3833, allocations: 111.2 kB / 1.196 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.3836, allocations: 131.4 kB / 1.196 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.3836, allocations: 0 / 1.196 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.4268, allocations: 12.14 MB / 1.208 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.99, allocations: 11.8 kB / 1.208 GB, free: 12.1 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches