Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001306/0.001306, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 191.4 kB / 16.67 MB, free: 6.582 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 67.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3235, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003657/0.3272, allocations: 2.249 MB / 1.244 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.3306, allocations: 2.394 MB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3307, allocations: 4 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.3322, allocations: 493.9 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3324, allocations: 91.36 kB / 1.247 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.3327, allocations: 99.86 kB / 1.247 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000985/0.3337, allocations: 0.8535 MB / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3339, allocations: 44.22 kB / 1.248 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.3343, allocations: 279.5 kB / 1.248 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.3349, allocations: 339.1 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.335, allocations: 52 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.3351, allocations: 56 kB / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.3354, allocations: 223.4 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.3358, allocations: 278.9 kB / 1.249 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007669/0.3366, allocations: 0.7319 MB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3366, allocations: 0 / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3366, allocations: 4 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.3366, allocations: 0 / 1.249 GB, free: 2.035 MB / 0.9981 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.002501/0.3391, allocations: 0.9444 MB / 1.25 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3392, allocations: 12.03 kB / 1.25 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.3392, allocations: 46.73 kB / 1.25 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3394, allocations: 44.66 kB / 1.25 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.341, allocations: 0.5226 MB / 1.251 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.341, allocations: 20.38 kB / 1.251 GB, free: 352 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.3411, allocations: 36.38 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.3415, allocations: 214 kB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3415, allocations: 3.938 kB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3416, allocations: 4 kB / 1.251 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3416, allocations: 7.938 kB / 1.251 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5494/0.891, allocations: 171.4 kB / 1.251 GB, free: 15.29 MB / 0.9981 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.004906/0.8959, allocations: 1.428 MB / 1.253 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.8977, allocations: 0.5853 MB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.898, allocations: 137.1 kB / 1.253 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.898, allocations: 4.078 kB / 1.253 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.898, allocations: 38.81 kB / 1.254 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.324e-06/0.898, allocations: 0 / 1.254 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001106/0.8992, allocations: 0.5477 MB / 1.254 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.8992, allocations: 59.84 kB / 1.254 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.8996, allocations: 399.3 kB / 1.255 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.8997, allocations: 41.2 kB / 1.255 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.8998, allocations: 168.7 kB / 1.255 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.8999, allocations: 98.16 kB / 1.255 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.9002, allocations: 148.2 kB / 1.255 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.9002, allocations: 355.1 kB / 1.255 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.9008, allocations: 337.2 kB / 1.256 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.9015, allocations: 398 kB / 1.256 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.9023, allocations: 0.5736 MB / 1.257 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9023, allocations: 0.9688 kB / 1.257 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001533/0.9039, allocations: 0.917 MB / 1.257 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.9039, allocations: 40.92 kB / 1.257 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9039, allocations: 1.219 kB / 1.257 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.9041, allocations: 32.61 kB / 1.258 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.905, allocations: 155.5 kB / 1.258 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008126/0.9058, allocations: 1.417 MB / 1.259 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.9075, allocations: 111.8 kB / 1.259 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.9076, allocations: 25.48 kB / 1.259 GB, free: 11.52 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 (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.0001982/0.9078, allocations: 186.8 kB / 1.259 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.9078, allocations: 32.77 kB / 1.259 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.9079, allocations: 43.72 kB / 1.259 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9079, allocations: 2.625 kB / 1.259 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9079, allocations: 0.6875 kB / 1.259 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9079, allocations: 2.859 kB / 1.259 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.9085, allocations: 470.5 kB / 1.26 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9085, allocations: 1.156 kB / 1.26 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.9088, allocations: 47.55 kB / 1.26 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.9089, allocations: 29.16 kB / 1.26 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.9089, allocations: 14.17 kB / 1.26 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007039/0.9096, allocations: 1.421 MB / 1.261 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.9096, allocations: 3.656 kB / 1.261 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.9104, allocations: 0.5882 MB / 1.262 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.9105, allocations: 127.5 kB / 1.262 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.9105, allocations: 9.797 kB / 1.262 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/0.9113, allocations: 24.86 kB / 1.262 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.9113, allocations: 22.08 kB / 1.262 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.9113, allocations: 7.531 kB / 1.262 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002482/0.9116, allocations: 260.8 kB / 1.262 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9116, allocations: 1 kB / 1.262 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007793/0.9124, allocations: 241.4 kB / 1.263 GB, free: 9.016 MB / 0.9981 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.001041/0.9134, allocations: 1.147 MB / 1.264 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.9145, allocations: 0.7415 MB / 1.264 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9145, allocations: 3.578 kB / 1.264 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.9148, allocations: 260.2 kB / 1.265 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.9154, allocations: 92.48 kB / 1.265 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006477/0.9219, allocations: 5.487 MB / 1.27 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.9222, allocations: 0.811 MB / 1.271 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.9225, allocations: 111.7 kB / 1.271 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.9228, allocations: 132.1 kB / 1.271 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.9228, allocations: 0 / 1.271 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.9654, allocations: 12.15 MB / 1.283 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.31, allocations: 11.55 kB / 1.283 GB, free: 2.977 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 144 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches