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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007518/0.007518, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001711/0.001712, allocations: 188.6 kB / 16.67 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.489/1.489, 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 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00372/0.3041, allocations: 2.255 MB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.3075, allocations: 2.39 MB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.3077, allocations: 4 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.3092, allocations: 493.9 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.3094, allocations: 91.36 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3098, allocations: 98.23 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008272/0.3106, allocations: 0.8538 MB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3108, allocations: 40.3 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.3111, allocations: 279.5 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.3116, allocations: 339.1 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-05/0.3117, allocations: 52 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.3118, allocations: 56 kB / 1.215 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.3121, allocations: 223.4 kB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.3123, allocations: 282.9 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.313, allocations: 0.7361 MB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3131, allocations: 0 / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3131, allocations: 0 / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.3131, allocations: 0 / 1.216 GB, free: 1.441 MB / 0.9669 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.002462/0.3155, allocations: 0.9291 MB / 1.217 GB, free: 468 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3156, allocations: 12.62 kB / 1.217 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3157, allocations: 40.47 kB / 1.217 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.3174, allocations: 0.5224 MB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.3175, allocations: 20.38 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.3176, allocations: 36.38 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.318, allocations: 205.7 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.318, allocations: 7.938 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.318, allocations: 4 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.318, allocations: 4 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.3183, allocations: 175.8 kB / 1.218 GB, free: 15.4 MB / 0.9825 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.004974/0.3233, allocations: 1.432 MB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.3252, allocations: 0.588 MB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.3254, allocations: 140.8 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3254, allocations: 4 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3255, allocations: 38.56 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 1.983e-06/0.3255, allocations: 0 / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001121/0.3266, allocations: 0.5445 MB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3266, allocations: 55.41 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.327, allocations: 405.4 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.394e-05/0.3271, allocations: 37.7 kB / 1.221 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3273, allocations: 165.1 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3274, allocations: 90.66 kB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.3277, allocations: 154.3 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3278, allocations: 350.8 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.3284, allocations: 337.1 kB / 1.222 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/0.3291, allocations: 401.5 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009572/0.33, allocations: 0.5723 MB / 1.223 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.33, allocations: 0 / 1.223 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001939/0.332, allocations: 0.9209 MB / 1.224 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.3321, allocations: 33.7 kB / 1.224 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3321, allocations: 0 / 1.224 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.3323, allocations: 32.84 kB / 1.224 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.3332, allocations: 147.8 kB / 1.224 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3346, allocations: 1.43 MB / 1.225 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.3364, allocations: 111.3 kB / 1.225 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.3365, allocations: 19.98 kB / 1.225 GB, free: 7.098 MB / 0.9825 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.0002585/0.3368, allocations: 186.2 kB / 1.226 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.3369, allocations: 31.53 kB / 1.226 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.984e-05/0.337, allocations: 39.47 kB / 1.226 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.337, allocations: 8 kB / 1.226 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.337, allocations: 3.938 kB / 1.226 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.337, allocations: 3.984 kB / 1.226 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.3376, allocations: 457.1 kB / 1.226 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3376, allocations: 0 / 1.226 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.3379, allocations: 47.91 kB / 1.226 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.338, allocations: 28.84 kB / 1.226 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.338, allocations: 15.92 kB / 1.226 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3392, allocations: 1.43 MB / 1.228 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3392, allocations: 3.938 kB / 1.228 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/0.3401, allocations: 0.5898 MB / 1.228 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3403, allocations: 112.7 kB / 1.228 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.3403, allocations: 8 kB / 1.228 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/0.3411, allocations: 35.92 kB / 1.228 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.3411, allocations: 20 kB / 1.228 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3412, allocations: 8 kB / 1.228 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002551/0.3414, allocations: 259.2 kB / 1.229 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3414, allocations: 0 / 1.229 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006704/0.3421, allocations: 232 kB / 1.229 GB, free: 3.367 MB / 0.9825 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.0001719/0.3423, allocations: 119.2 kB / 1.229 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.3435, allocations: 0.7463 MB / 1.23 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3435, allocations: 0 / 1.23 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.3439, allocations: 262.4 kB / 1.23 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.3446, allocations: 93.97 kB / 1.23 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.3466, allocations: 1.288 MB / 1.231 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.3471, allocations: 0.8156 MB / 1.232 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.3475, allocations: 111.3 kB / 1.232 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.3477, allocations: 35.42 kB / 1.232 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/0.3477, allocations: 3.938 kB / 1.232 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of Templates: time 0.01577/0.3635, allocations: 8.273 MB / 1.24 GB, free: 7.633 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins/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